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

body {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Left Side - Branding */
.login-left {
    background-color: #000;
    color: white;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.branding {
    position: relative;
    z-index: 1;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.logo-wrapper img {
    width: 200px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: white;
    color: #000;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Right Side - Login Form */
.login-right {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: #fff;
}

.login-box {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 16px;
    color: #666;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #999;
    pointer-events: none;
}

.form-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
    color: #999;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #000;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #000;
    border-color: #000;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checkbox-text {
    font-size: 14px;
    color: #666;
}

.forgot-link {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.forgot-link:hover {
    opacity: 0.7;
}

.btn-login {
    width: 100%;
    padding: 16px 24px;
    background: #000;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 8px;
    font-family: inherit;
}

.btn-login:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform 0.3s;
}

.btn-login:hover .btn-icon {
    transform: translateX(4px);
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    width: 100%;
    padding: 14px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-social:hover {
    border-color: #000;
    background: #fafafa;
}

.btn-github {
    color: #000;
}

.signup-link {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #666;
}

.signup-link a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.signup-link a:hover {
    opacity: 0.7;
}

.login-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.login-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.login-footer a:hover {
    color: #000;
}

.login-footer span {
    color: #ddd;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .login-right {
        padding: 40px 24px;
    }
    
    .login-box {
        max-width: 100%;
    }
    
    .login-header h2 {
        font-size: 28px;
    }
    
    .login-footer {
        position: relative;
        bottom: 0;
        margin-top: 40px;
        flex-wrap: wrap;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-item:nth-child(6) {
    animation-delay: 0.6s;
}
