﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}

:root {
    --primary: #ff2c54;
    --primary-light: #ff5c7c;
    --primary-dark: #d61e42;
    --white: #ffffff;
    --dark: #1a1a2e;
    --light: #f5f5f7;
    --gray: #6c757d;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* اشکال هندسی پویا در پس‌زمینه */
.shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    opacity:0.2;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary), transparent);
    top: 10%;
    right: 10%;
    animation: float 12s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    bottom: 15%;
    left: 15%;
    animation: float 8s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(225deg, var(--primary-dark), transparent);
    top: 40%;
    left: 10%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-20px, 20px);
    }

    50% {
        transform: translate(20px, -20px);
    }

    75% {
        transform: translate(15px, 15px);
    }
}

.login-container {
    width: 100%;
    max-width: 1200px;
    min-height: 700px;
    background: rgba(26, 26, 46, 0.7);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    position: relative;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 44, 84, 0.3) 0%, rgba(255, 92, 124, 0.2) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .login-left::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
        opacity: 0.15;
    }

    .login-left::after {
        content: '';
        position: absolute;
        bottom: -150px;
        left: -100px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
        opacity: 0.1;
    }

.logo {
    position: absolute;
    top: 40px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 44, 84, 0.4);
}

    .logo-circle i {
        color: var(--white);
        font-size: 18px;
    }

.logo-text {
    color: #00000044;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.login-left-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.login-left h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 800;
    text-align:center;
}

.highlight {
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

    .highlight::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 8px;
        background: rgba(255, 44, 84, 0.3);
        z-index: -1;
    }

.login-left p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align:center;
}

.features {
    list-style: none;
    margin-top: 40px;
}

    .features li {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        font-size: 1.1rem;
        color: var(--white);
    }

        .features li i {
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 15px;
            color: var(--primary);
        }

.login-right {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.login-header {
    text-align: center;
    margin-bottom: 50px;
}

    .login-header h1 {
        color: var(--white);
        font-size: 1.5rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .login-header p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.1rem;
    }

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 12px;
        font-weight: 600;
        color: var(--white);
        font-size: 1.05rem;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        color: var(--gray);
        font-size: 1.1rem;
    }

.form-group input {
    width: 100%;
    padding: 10px 60px 10px 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--white);
}

    .form-group input:focus {
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.1);
        outline: none;
        box-shadow: 0 0 0 4px rgba(255, 44, 84, 0.2);
    }

    .form-group input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: color 0.3s ease;
}

    .toggle-password:hover {
        color: var(--primary);
    }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-left: 10px;
        width: 20px;
        height: 20px;
        accent-color: var(--primary);
    }

    .remember-me label {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }

.forgot-password {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: var(--white);
        text-decoration: underline;
    }

.login-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 44, 84, 0.4);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    font-family: 'YekanBakhFaNum-Light' !important;
}

    .login-button::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(30deg);
        transition: all 0.6s ease;
    }

    .login-button:hover::after {
        transform: rotate(30deg) translate(20%, 20%);
    }

    .login-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 44, 84, 0.6);
    }

    .login-button:active {
        transform: translateY(0);
    }

.support-button {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
    padding: 16px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .support-button i {
        font-size: 1.2rem;
    }

    .support-button:hover {
        background: rgba(255, 44, 84, 0.1);
        color: var(--white);
    }

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

    .social-btn:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .social-btn.linkedin:hover {
        color: #0a66c2;
    }

    .social-btn.instagram:hover {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        color: white;
    }

    .social-btn.website:hover {
        color: var(--primary);
    }

.signup-link {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

    .signup-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s ease;
    }

        .signup-link a:hover {
            color: var(--primary-light);
            text-decoration: underline;
        }

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-right > * {
    animation: fadeIn 0.6s ease-out forwards;
}

    .login-right > *:nth-child(1) {
        animation-delay: 0.1s;
    }

    .login-right > *:nth-child(2) {
        animation-delay: 0.2s;
    }

    .login-right > *:nth-child(3) {
        animation-delay: 0.3s;
    }

    .login-right > *:nth-child(4) {
        animation-delay: 0.4s;
    }

    .login-right > *:nth-child(5) {
        animation-delay: 0.5s;
    }

/* رسپانسیو */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        min-height: auto;
    }

    .login-left, .login-right {
        padding: 40px 30px;
    }

        .login-left h2 {
            font-size: 2.2rem;
            margin-top:50px;
        }
}

@media (max-width: 576px) {
    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .login-header h1 {
        font-size: 2rem;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .login-left h2 {
        font-size: 1.4rem;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .login-left p{
        margin-bottom:0;
        font-size:0.5rem;
    }
    .features, .logo {
        display: none;
    }

    .login-header{
        margin-bottom:20px;
    }
    .login-header h1 {
        font-size: 1.4rem;
        margin-bottom:0;
    }
    .login-header p{
        font-size:1rem;
    }

    .form-group input {
        padding: 8px 60px 8px 20px;
    }
    .login-button{
        padding:12px;
    }
    .signup-link{
        font-size:0.9rem;
    }
}
