:root {
    --primary-color: #ffb611;
    --primary-hover: #bf8705;
    --primary-light: #fff4cd;
    --danger-color: #E64A19;
    --danger-hover: #b73a13;
    --bg-body: #f2f3f5;
    --text-main: #2d3748;
    --text-muted: #718096;
    --radius: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.auth-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-form {
    background-color: #fff;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    border-radius: var(--radius);
}

.icon-circle {
    height: 64px;
    width: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.input-icon-wrapper svg {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.form-control {
    padding: 0.75rem 0.75rem 0.75rem 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 182, 17, 0.2);
    outline: none;
}

.input-icon-wrapper:focus-within svg {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    color: #000;
    transition: transform 0.1s active, background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.form-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #edf2f7;
    text-align: center;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.auth-form.register {
    max-width: 600px; 
}

.invalid-feedback, .alert-danger {
    font-size: 0.875rem;
    border-radius: 8px;
    margin-top: 5px;
}

@media (max-width: 576px) {
    .auth-form.register {
        padding: 1.5rem;
    }
}

.password-field {
    margin-bottom: 1rem;
}
