body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #f9fafb;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.login-left {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    overflow: hidden;
}

.login-info {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 500px;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.login-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5865F2, #8faaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #f9fafb;
}

.feature-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.login-right {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
}

.login-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.login-card p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    pointer-events: none;
    opacity: 0.5;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary.enabled {
    pointer-events: auto;
    opacity: 1;
}

.btn-primary.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.6);
}

.btn-primary.enabled:hover::before {
    left: 100%;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    text-align: left;
}

.terms-checkbox input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #5865F2;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-checkbox label {
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.5;
    cursor: pointer;
}

.terms-checkbox a {
    color: #8faaff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-checkbox a:hover {
    color: #5865F2;
}

.card-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.card-footer a {
    color: #8faaff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-footer a:hover {
    color: #5865F2;
}

.go-back {
    margin-top: 1.5rem;
}

.go-back a {
    color: #8faaff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.go-back a:hover {
    color: #5865F2;
}

.login-left .animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.login-left .animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

.login-left .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.login-left .shape {
    position: absolute;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.login-left .shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.login-left .shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.login-left .shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.login-left .shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 20%;
    animation-delay: -15s;
}

.login-left .shape-5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 5%;
    animation-delay: -7s;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-20px) translateY(-20px);
    }
    50% {
        transform: translateX(20px) translateY(-10px);
    }
    75% {
        transform: translateX(-10px) translateY(20px);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .login-right {
        flex: 0 0 400px;
    }
    
    .login-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        min-height: 40vh;
        padding: 1.5rem;
    }
    
    .login-right {
        flex: 1;
        min-height: 60vh;
        padding: 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .login-features {
        display: none;
    }
    
    .login-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .login-left {
        min-height: 30vh;
        padding: 1rem;
    }
    
    .login-right {
        padding: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4752C4, #5865F2);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #5865F2 transparent;
}

::selection {
    background: rgba(88, 101, 242, 0.3);
    color: #f9fafb;
}

::-moz-selection {
    background: rgba(88, 101, 242, 0.3);
    color: #f9fafb;
}