* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-section {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.brand-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.brand-icon i {
    font-size: 48px;
    color: #fff;
}

.brand-title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.features-section {
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.feature-icon i {
    font-size: 20px;
    color: #667eea;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: #6c757d;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper > i {
    position: absolute;
    left: 16px;
    color: #adb5bd;
    font-size: 16px;
    transition: color 0.3s ease;
}

.input-wrapper input {
    width: 100%;
    height: 52px;
    padding: 0 48px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    color: #1a1a2e;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #1a1a2e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 26, 46, 0.08);
}

.input-wrapper input:focus + i,
.input-wrapper input:focus ~ i {
    color: #1a1a2e;
}

.input-wrapper input::placeholder {
    color: #adb5bd;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #1a1a2e;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6c757d;
}

.remember-me input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #1a1a2e;
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #667eea;
}

.btn-login {
    width: 100%;
    height: 52px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}

.btn-login:hover {
    background: #16213e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(4px);
}

.login-footer {
    margin-top: 40px;
    text-align: center;
}

.login-footer p {
    font-size: 13px;
    color: #adb5bd;
    margin-bottom: 8px;
}

.login-footer .copyright {
    font-size: 12px;
    color: #ced4da;
}

@media (max-width: 992px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .login-right {
        padding: 24px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
}
