/* ============================================================
   HONEYBELL — Login Page Theme
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --hb-dark:   #3d1a08;
    --hb-mid:    #6b3220;
    --hb-gold:   #c8962a;
    --hb-cream:  #f5efe6;
    --hb-light:  #fdf8f2;
    --hb-accent: #e8c97a;
}

body {
    background: linear-gradient(145deg, var(--hb-dark) 0%, var(--hb-mid) 55%, #a0561e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Decorative honeycomb-like pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(200,150,42,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200,150,42,0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* Glass card */
.login-container {
    text-align: center;
    width: 100%;
    max-width: 380px;
    padding: 40px 32px;
    background: rgba(253, 248, 242, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 150, 42, 0.35);
    border-radius: 20px;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

/* Brand logo */
.login-container .brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 12px;
    padding: 10px 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Brand subtitle */
.login-container .brand-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    color: var(--hb-accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* Divider */
.login-container .divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hb-gold), transparent);
    margin: 0 auto 24px;
}

/* Form title */
.login-container h5 {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

/* Inputs */
.form-control {
    border-radius: 10px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(200, 150, 42, 0.4);
    color: #fff;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: rgba(245,239,230,0.55); }
.form-control:focus {
    background: rgba(255,255,255,0.14);
    border-color: var(--hb-gold);
    box-shadow: 0 0 0 3px rgba(200,150,42,0.25);
    color: #fff;
    outline: none;
}

/* Toggle password icon */
.password-toggle {
    cursor: pointer;
    color: var(--hb-accent);
    transition: color 0.2s;
}
.password-toggle:hover { color: var(--hb-gold); }

/* Submit button */
.btn-primary {
    background: linear-gradient(135deg, var(--hb-gold) 0%, #a07020 100%) !important;
    border: none !important;
    border-radius: 10px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--hb-dark) !important;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(200,150,42,0.4);
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Error message */
.login-box-msg.text-error {
    color: #ffb3a7;
    font-size: 13px;
    margin-bottom: 10px;
    min-height: 20px;
}

.form-text { margin-top: 16px; }
.form-text a {
    color: var(--hb-accent);
    text-decoration: none;
    transition: color 0.2s;
}
.form-text a:hover {
    color: var(--hb-gold);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .login-container {
        padding: 28px 20px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    .form-control { font-size: 14px; }
    .btn-primary { font-size: 14px; padding: 10px 0; }
    .login-container .brand-logo { max-width: 140px; }
}

/* ---- Misc (kept from original) ---- */
.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
    visibility: hidden;
}
.modal-dialog  { overflow-y: initial !important; }
.modal-body    { overflow-y: auto; }
.text-error    { color: red; }
.table th      { text-align: center; }