body {
    background: radial-gradient(circle at top, rgba(45, 80, 22, 0.08), transparent 55%), #f6f7f3;
}

#login-view,
#register-view {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 26px 30px;
    border: 1px solid #edf0e7;
    box-shadow: 0 16px 30px rgba(18, 39, 9, 0.12);
}

.bg-white {
    border-radius: 18px;
    border: 1px solid #edf0e7;
    box-shadow: 0 16px 30px rgba(18, 39, 9, 0.12);
}

.btn.action-btn {
    margin-top: 5px;
    background-color: #2d5016 !important;
    border-color: #2d5016 !important;
    color: white !important;
    box-shadow: 0 10px 18px rgba(22, 49, 10, 0.18);
}

.btn.action-btn:hover {
    background-color: #1e360f !important;
    border-color: #1e360f !important;
    color: white !important;
}

.btn.action-btn:active {
    background-color: #1e360f !important;
    border-color: #1e360f !important;
    color: white !important;
}

.form-control {
    border: 2px solid #dfe5d8;
    border-radius: 10px;
    padding: 12px;
}

.form-control:focus {
    border-color: #2d5016;
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.15);
}

.form-control.error {
    border-color: #f44336 !important;
}

.form-control.error::placeholder {
    color: #f44336 !important;
}

.form-check-input:checked {
    background-color: #2d5016;
}

.alert-box {
    background-color: #f1f4ef;
    color: #2d5016;
    border: 1px solid #2d5016;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-link {
    color: #2d5016;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.theme-link:hover {
    text-decoration: underline;
}

.recovery-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    background-color: #f6f8fa;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #d0d7de;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    user-select: all;
}
