:root {
    --gold: #e1b47b;
    --gold-dark: #c59d68;
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --text: #2f3640;
    --input-border: #dcdde1;
}

.dark-mode {
    --bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --text: #f5f6fa;
    --input-border: #444;
}

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

body {
    background-color: var(--bg);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transition: 0.3s;
}

.login-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 380px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.logo4 {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    border-radius: 10px;
}

h1 { color: var(--text); font-size: 24px; margin-bottom: 5px; }
.subtitle { color: #7f8c8d; font-size: 14px; margin-bottom: 30px; }

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

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-left: 5px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}

input:focus { border-color: var(--gold); border-width: 2px; }

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }

.error-msg {
    color: #e84118;
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: bold;
}

.btn-link {
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: underline;
}