:root {
    --primary: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    --accent: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
    --success: #10b981;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    --dark: #1e293b;
    --light: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f7f9fc;
    color: var(--gray-800);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Background Elements */
.auth-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSIjMDAwMDAwIj48cGF0aCBkPSJNMzYgMzRjMCAxIDEgMiAyIDJzMi0xIDItMnYtNGMwLTEtMS0yLTItMnMtMiAxLTIgMnY0em0tMTYgMGMwIDEgMSAyIDIgMnMyLTEgMi0ydi00YzAtMS0xLTItMi0ycy0yIDEtMiAydjR6bTExIDdoLTIgMCAwIDAgMCAwIDAgMC0yIDAtMi0xYy0yIDAtMy0xLTMtM3YtM2MwLTEgMS0yIDItMnMyIDEgMiAydjNjMCAwIDAgMSAxIDFoMiAwIDAgMCAwIDAgMCAyIDAgMCAxYzEgMCAxLTEgMS0xdi0zYzAtMSAxLTIgMi0yczIgMSAyIDJ2M2MwIDItMSAzLTMgM2gtMnpNMjQgMTRoMTIgMGMyIDAgNCAwIDYgMXYtM2MwLTMtMy02LTYtNkgyNGMtMyAwLTYgMy02IDZ2M2MyLTEgNC0xIDYtMXoiLz48L2c+PC9zdmc+');
}

.auth-blob-1,
.auth-blob-2,
.auth-blob-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.auth-blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, rgba(99, 102, 241, 0) 70%);
    animation: float-slow 15s ease-in-out infinite;
}

.auth-blob-2 {
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, rgba(6, 182, 212, 0) 70%);
    animation: float-slow 20s ease-in-out infinite reverse;
}

.auth-blob-3 {
    top: 40%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, rgba(245, 158, 11, 0) 70%);
    animation: float-slow 18s ease-in-out infinite 2s;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -40px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Login Container Styles */
.login-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 80px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.login-side {
    flex: 1;
    background: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsPSIjODA4MDgwIiBmaWxsLW9wYWNpdHk9IjAuMDUiPjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHptMjAgMjBhMTAgMTAgMCAxIDAgMCAxIDEwIDEwIDAgMCAwIDAtMXoiLz48L2c+PC9zdmc+');
    opacity: 0.2;
    z-index: -1;
}

.brand-area {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header {
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.login-subtitle {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.5;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--gray-800);
    background-color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
}

.input-with-icon {
    padding-left: 3rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
}

.password-toggle:hover {
    color: var(--gray-600);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
}

.forgot-password {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.social-login {
    margin-top: 1.5rem;
}

.social-label {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.social-label::before,
.social-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--gray-200);
}

.social-label::before {
    margin-right: 0.75rem;
}

.social-label::after {
    margin-left: 0.75rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    background-color: white;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-social:hover {
    border-color: var(--gray-300);
    background-color: var(--gray-50);
    transform: translateY(-2px);
}

.signup-link {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.signup-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.signup-link a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Feature Side Styles */
.feature-side {
    flex: 1;
    background: var(--primary-gradient);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.feature-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjAuMSI+PHBhdGggZD0iTTUgMGg1MHY1MEg1MHYxMEg0MHYtMTBIMzB2MTBIMTB2LTEwSDB2LTEwaDEwVjMwSDB2LTIwaDEwVjBINXptMTAgMTBoMTB2MTBIMTVWMTB6bTIwIDB2MTBoMTBWMTBoLTEwem0tMjAgMjBoMTB2MTBIMTVWMzB6bTIwIDB2MTBoMTBWMzBoLTEweiIvPjwvZz48L3N2Zz4=');
    opacity: 0.1;
    z-index: 0;
}

.feature-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
}

.feature-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1rem;
}

.feature-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

.feature-illustration {
    margin-top: 2rem;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-ui {
    width: 240px;
    height: 160px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite;
}

.floating-ui-2 {
    width: 140px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 20%;
    left: 15%;
    transform: rotate(-10deg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 7s ease-in-out infinite 1s;
}

.floating-ui-3 {
    width: 120px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 15%;
    right: 10%;
    transform: rotate(15deg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        height: auto;
        flex-direction: column-reverse;
    }

    .feature-side {
        padding: 2rem;
    }

    .login-side {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 1rem;
    }

    .login-container {
        border-radius: 16px;
    }

    .feature-side {
        padding: 1.5rem;
    }

    .login-side {
        padding: 1.5rem;
    }

    .social-buttons {
        flex-direction: column;
    }
}