/* @font-face{
    font-family: IranYekan;
    src: url(View/1025/font/YekanBakh-VF.ttf);
}
body{
    font-family: IranYekan;
    overflow-x: hidden;
}
*{
    font-family: IranYekan;
} */
img{
    border-style: none;
    border: none;
}
  /* .Message {
        border-radius: 5px;
    }
    .MessageTitle{
         border-top: 8px solid #ff444e;
        background-color: #fff;
        color: #000;
        font-size: 16px;
        border-top-right-radius: 5px;
        border-top-left-radius:5px ;
        border-bottom: 1px dashed rgb(237 237 237); 
        text-align: center;

    }
    .MessageTitle img {
    padding: 5px;
    border: 1px solid #A1A1A1;
    border-radius: 3px;


    }
    .MessageText{
        font-size: 14px;
       padding: 28px 15px;
            display: flex;
            align-items: center;
            justify-content: center;
    } */

    .Message .MessageTitle {
    background-color:#fff;
    border-top: 8px solid #ff444e;
    color: #737373;
    text-align: center;
    margin: 0px auto;
    padding: 12px;
    font-size: 12pt;
    font-weight: bold;
    border-bottom: 1px dashed rgb(237 237 237); 
   
}
.Message .MessageText img{
    display: none;
}
.Message .MessageTitle img{
    display: block;
}

.MessageText {
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
:root {
    --primary-color: #2FE784;
    --dark-bg: #000000;
    --light-text: #FFFFFF;
    --gray-text: #A1A1A1;
    --border-color: #242528;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: -0.02em;
}

html,
body {
    background-color: var(--dark-bg);
    /* color: var(--light-text); */
    min-height: 100vh;
    overflow-x: hidden;
    height: 100%;
}

.container {
    max-height: 100vh;
}

input::placeholder {
    color: var(--light-text);
    opacity: 0.5;
}

.custom-text-green {
    color: #2FE784;
}


   .header-logo {
    width: 4.75rem !important;
    height: 4.75rem !important;
}
/* Header logo size optimization */

@media (max-width: 360px) {
    .header-logo {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }
    
    
}

@media (max-width: 768px) {
    .header-logo {
        width: 4.25rem !important;
        height: 4.25rem !important;
    }
    
   
}

.login-image {
    flex: 1;
    min-width: 826px;
    height: auto;
    margin: 32px;
    border-radius: 24px;
    background-color: #242528;
    /* background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQYLDsvjHP5nWNw_GukMPIoCxkVqH70TnfnFw&s '); */
    /* background-image: url('https://tse3.mm.bing.net/th?id=OIF.cduS%2bMkzkBAXoZY2Yn8IYg&pid=Api&P=0&w=300&h=300 '); */
    background-size: cover;
    background-position: center;
}

/* Form element styles */
input {
    direction: rtl;
    text-align: right;
}

button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(47, 231, 132, 0.2);
}

button:active {
    transform: translateY(0);
}

/* Responsive adjustments */


@media (max-width: 1400px) {
    .login-image {
        min-width: 600px;
    }
}

@media (max-width: 1100px) {
    .login-image {
        min-width: 500px;
        height: auto;
        margin: 16px;
    }
}

/* Tablet specific styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        flex-direction: row !important;
    }
    
    .login-image {
        min-width: 45%;
        height: auto;
        margin: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .login-image {
        min-width: 100%;
        height: 40vh;
        margin: 0;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .login-image {
        display: none;
    }
}


@media (min-width: 1024px) {
    p {
        font-size: 12px;
    }
    .pad{
        padding: 4rem;
    }
    .rememberFont{
        font-size: 2.25rem;
        margin-bottom: 3px;
    }
    .restoreFont{
        font-size: .88rem;
    }
    .correctPhoneFont{
        font-size: 1rem;
    }
    .borderPad{
        padding: 14px 14px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
   
    .pad{
        padding: 2rem;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 28px;
    }

    p {
        font-size: 10px;
    }

    .container {
        padding: 90px 16px;
    }

    /* Adjust padding for smaller screens */
    .w-full.border.border-white.rounded-lg {
        padding: 10px 12px;
    }

    /* Make the input padding smaller on mobile */
    .w-full.flex.items-center.border.border-gray-800.rounded-full {
        padding: 10px 14px;
    }

    /* Adjust button padding */
    button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* Medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    /* Adjust padding for medium screens */
    .p-6.md:p-16 {
        padding: 2rem !important;
    }
}

/* Large screens */
@media (min-width: 1025px) {
    .container {
        max-width: 100%;
        
    }

}

/* Ensure the form is always visible without scrolling */
@media (min-height: 600px) and (max-height: 800px) {
    .gap-6.md:gap-16 {
        gap: 1rem !important;
    }

    h1 {
        margin-bottom: 0.25rem !important;
    }
}

/* Prevent scrolling on all screen sizes */
html,
body {
    overflow-x: hidden;
}

/* Center content vertically */
/* @media (min-width: 768px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
    }
} */
@media (min-width: 1024px) {.form1 .phoneFont{font-size: 14px;margin-bottom: 3px;}.form1 }
