:root {
    --bg: #f9fafb;
    --card-bg: #fff;
    --muted: #6c757d;
    --accent: #f47c20;
    --input-border: #ccc;
}

body {
    font-family: Inter, system-ui, -apple-system, "Helvetica Neue", Arial;
    background-color: var(--bg);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, color .25s;
    padding: 20px;
    overflow: hidden;
}

.auth-card {
    border-radius: 20px;
    overflow: hidden;
}

.btn-warning {
    background-color: #f47c20;
    border: none;
    transition: 0.3s;
}

.btn-warning:hover {
    background-color: #e36c14;
}

.footer-text {
    font-size: 12px;
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
    color: #6c757d;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #e5e5e5;
}

body.dark-mode .bg-light {
    background-color: #1e1e1e !important;
}

body.dark-mode .bg-white {
    background-color: #1e1e1e !important;
}

body.dark-mode .form-control {
    background-color: #2a2a2a;
    color: #fff;
    border-color: #444;
}

body.dark-mode .form-control::placeholder {
    color: #bbb;
}

body.dark-mode .footer-text {
    color: #aaa;
}

.dark-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    transition: 0.3s;
}

body.dark-mode .dark-toggle {
    background: #2a2a2a;
    border: 1px solid #555;
    color: #fff;
}

.help-text {
    font-size: 14px;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
}

.help-text a {
    text-decoration: none;
}

.btn-warning {
    color: #ffffff;
}

.btn-warning:hover {
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.fs-11 {
    font-size: 11px;
}

.text-italic {
    font-style: italic;
}

.text-xs {
    font-size: 11px;
}

.small,
small {
    font-size: 12px;
}

.input-grp{
    position:relative !important;
}

.input-icon {
    position: absolute;
    top: 20%;
    right: 3%;
}