﻿:root {
    --primary: #1a3a8f;
    --primary-light: #3a5aaf;
    --secondary: #e63946;
    --accent: #f4a261;
    --light: #f8fafc;
    --dark: #1d3557;
    --gray: #94a3b8;
    --dark-gray: #64748b;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}



.glass-card {
    margin-top: 50px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

    .glass-card:hover {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.hero-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo-container {
    background: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

    .logo-container img {
        width: 80px;
    }

.hero-content {
    z-index: 2;
}

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        font-weight: 700;
        position: relative;
        display: inline-block;
    }

        .hero-content h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 60px;
            height: 3px;
            background: var(--accent);
            border-radius: 3px;
        }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.9);
    }

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    z-index: 2;
}

.feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .feature i {
        color: var(--accent);
    }

.auth-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    margin-bottom: 40px;
    text-align: center;
}

    .auth-header h2 {
        font-size: 1.8rem;
        color: var(--dark);
        margin-bottom: 10px;
    }

    .auth-header p {
        color: var(--dark-gray);
        font-size: 0.95rem;
    }

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.auth-tab {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

    .auth-tab.active {
        color: var(--primary);
    }

.indicator {
    position: absolute;
    bottom: -1px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
}

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.input-container {
    position : relative;
}


.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--light);
    color: var(--dark);
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
        outline: none;
        background-color: white;
    }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
}


.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(26, 58, 143, 0.1);
}

    .btn:hover {
        background: linear-gradient(to right, var(--primary-light), var(--primary));
        box-shadow: 0 6px 12px rgba(26, 58, 143, 0.15);
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0);
    }

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

    .form-footer a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

.social-login {
    margin-top: 30px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e2e8f0;
        margin: 0 10px;
    }

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.google {
    background: linear-gradient(to right, #4285F4, #34A853, #FBBC05, #EA4335);
    background-size: 300% 300%;
    animation: gradient 4s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.microsoft {
    background: linear-gradient(to right, #7FBA00, #00A4EF, #FFB900, #F25022);
    background-size: 300% 300%;
    animation: gradient 4s ease infinite;
}

.github {
    background-color: #333;
}

.floating-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .glass-card {
        flex-direction: column;
    }

    .hero-section {
        padding: 40px 30px;
        border-radius: 20px 20px 0 0;
    }

    .auth-section {
        padding: 40px 30px;
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 576px) {
    .hero-section, .auth-section {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
