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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

.login-header {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 2px solid #E2F50F;
}

.logo-container {
    margin-bottom: 15px;
}

.logo-placeholder {
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: #1e293b;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    border: 3px solid #E2F50F;
}

.login-header h1 {
    color: #E2F50F;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.subtitle {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
}

.login-card {
    padding: 30px;
    background: #1e293b;
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #86efac;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-with-icon:focus-within {
    border-color: #E2F50F;
    box-shadow: 0 0 0 2px rgba(226, 245, 15, 0.2);
}

.icon {
    padding: 0 15px;
    color: #64748b;
}

.input-with-icon input {
    flex: 1;
    padding: 14px 15px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    outline: none;
}

.input-with-icon input::placeholder {
    color: #64748b;
}

.toggle-password {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
}

.checkbox input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #334155;
    background: #0f172a;
    cursor: pointer;
}

.checkbox input:checked {
    background: #E2F50F;
    border-color: #E2F50F;
}

.link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.link:hover {
    color: #E2F50F;
}

.btn {
    padding: 16px 20px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #E2F50F 0%, #c6d70c 100%);
    color: #0f172a;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #c6d70c 0%, #a8b309 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 245, 15, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.icon-right {
    margin-left: auto;
}

.form-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    flex-wrap: wrap;
}

.separator {
    color: #64748b;
    font-size: 14px;
}

.security-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(226, 245, 15, 0.1);
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.icon-small {
    color: #E2F50F;
}

.login-footer {
    text-align: center;
    padding: 20px;
    background: #0f172a;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: 13px;
}

.login-footer p {
    margin-bottom: 5px;
}

.version {
    font-size: 12px;
    color: #475569;
}

@media (max-width: 480px) {
    .login-container {
        border-radius: 15px;
    }
    
    .login-card {
        padding: 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        display: none;
    }
}