
@font-face {
  font-family: 'Yekan';
  src: 
      url(/static/font/Yekan.eot),
         url(/static/font/Yekan.ttf),
         url(/static/font/Yekan.woff),
         url(/static/font/Yekan.woff2);
  font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-image: url("/static/images/background.svg");
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed; /* برای اثر پارالکس */
    font-family: 'Yekan', sans-serif;
    padding: 0;
    margin: 0;
    direction: rtl;
    background-color: #2A2C36;
    position: relative;
    overflow-x: hidden;
    
    /* انیمیشن برای حرکت ملایم */
    animation: gentleMove 20s ease-in-out infinite;
}

button, 
input, 
select, 
textarea,
.tab-btn,
.filter-group select,
.form-group input[type="text"],
.form-group textarea,
.form-group select,
.close-modal {
    font-family: 'Yekan', sans-serif !important;
}

/* انیمیشن حرکت ملایم برای پس زمینه */
@keyframes gentleMove {
    0% {
        background-position: center center;
        background-size: 100%;
    }
    50% {
        background-position: 10% 5%;
        background-size: 102%;
    }
    100% {
        background-position: center center;
        background-size: 100%;
    }
}

/* انیمیشن شناور برای دایره ها */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    33% {
        transform: translate(10px, -15px) scale(1.03);
        opacity: 0.8;
    }
    66% {
        transform: translate(-5px, 10px) scale(0.98);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
}

/* بقیه استایل های شما بدون تغییر */
main{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    gap:10%;
    
}
.container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 35%;
    margin :7%;
    border-radius: 24px;
    background-color: rgba(42, 44, 54, 0.8); /* کمی شفافیت برای بهتر دیده شدن محتوا */
    backdrop-filter: blur(5px); /* افکت محو برای زیبایی بیشتر */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    
}
.container p {
    color:#ccc;
}
.golog{
    margin-top: 2rem;
}
.container p a{
    text-decoration: none;
    color: rgba(228, 105, 98, 1);
}
#s1{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 10%;
    margin-top: 5%;
    margin-bottom: 2%;
    padding: 0 10%;
}
#s1 h1{
    color:#00ACD3;
}
#login-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10%;
}
#signup-form{
     display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10%;
}
#forgot-password-form{
     display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10%;
}
.input-group{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 5%;
}
.input-group label{
    font-size: 14px;
    margin-bottom: 3%;
    color:#ccc;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="tel"]{
    width: 100%;
    height: 2.5rem;
    border-radius: 5px;
    border: 1px solid #D8D8D8;
    padding: 0 10px;
    font-size: 14px;
    background-color: rgba(76, 79, 90, 0.3)!important;
    color: #fff;
}
.forgot-password{
    color: rgba(228, 105, 98, 1);
    text-decoration: none;
}
#remember-me-group{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 5%;
}
#remember-me-group label{
   margin-bottom: 3%;
}
button[type="submit"]{
    width: 100%;
    height: 2.5rem;
    background-color: #00ACD3;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    font-family: Yekan;
}
#signup-b{

    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    width: 100%;
    margin: 10% 0;
}
#signup-b p{
    color:#CCCCCC;
}
    #signup-b a{
    text-decoration: none;
    color: #000;
    font-size: 14px;
    margin-right: 5%;
    color: rgba(228, 105, 98, 1);
}
.btn-create{
    font-family: 'Yekan', 'Tanha', 'Vazir', sans-serif;
    font-weight: bold;
    color: #000;
}
.reset-sent-container p{
    text-align: center;
    margin: 2rem 0;
    color:#ccc;
}
.reset-sent-container a{
    text-decoration: none;
    color: rgba(228, 105, 98, 1);
}
.mob-logo{
    display: none;
    margin-right:auto;
  
}
.login-pic {
    position: fixed;
    top: 11%;
    left: 7%;
    z-index: 10;
    width: clamp(400px, 40vw, 800px); /* Responsive sizing */
    height: auto;
}
@media(max-width:1024px){
   
    main{
        gap:3%;
    }
}

@media(max-width:768px){
    body{
        background-image: none;
        animation: none; /* غیرفعال کردن انیمیشن در موبایل برای عملکرد بهتر */
    }
    
    body::before {
        animation: floatMobile 15s ease-in-out infinite;
    }
    
    @keyframes floatMobile {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 0.7;
        }
        50% {
            transform: translate(5px, -8px) scale(1.02);
            opacity: 0.8;
        }
        100% {
            transform: translate(0, 0) scale(1);
            opacity: 0.7;
        }
    }
    main{
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto;
        padding: 5% 0;
        gap:5%;
    }
    
    .container{
        width:90%;
        margin: 5% auto;
    }
 
    #s1 img{
        position: absolute;
        top:1rem;
        left:1rem;
    }
    .login-pic{
        display: none;
    }
    .mob-logo{
        display: block;
    }
    .desc-logo{
        display: none;
    }
}