/* Background + centering */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body {
    background: linear-gradient(135deg, #f8e473, #f4c542);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Montserrat", sans-serif;
}

/* Login card style */
.login-form {
    background: #fffbe6;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Icon + input styling */
.input-group-text {
    background-color: #fffbe6;
    border-right: none;
}

.form-control {
    border-left: none;
}

.form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #f5c242, #d4af37);
    /* richer gold gradient */
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffd54f, #e6b800);
    /* brighter on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-gold:focus,
.btn-gold:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
    /* subtle gold glow */
}

.btn-gold:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .login-form {
        padding: 1.5rem;
    }
}

.top-error {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #dc3545;
    /* Bootstrap red */
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    /* Center text horizontally and vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    /* spacing between icon and text */
    text-align: center;
}

.top-error i {
    font-size: 1.2rem;
}

.top-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #28a745;
    /* Bootstrap green */
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    /* Center icon + text */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.top-success i {
    font-size: 1.2rem;
}


/* Custom top bar - charcoal background */
.custom-topbar {
    background-color: #212529;
    /* charcoal dark gray */
    padding: 0.5rem 1rem;
    /*z-index: 1100; */
}

/* Logo */
.custom-topbar-logo {
    height: 40px;
}

/* Site title */
.custom-topbar-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #f5c242;
    /* warm gold */
}

/* Username */
.custom-topbar-username {
    color: #f5c242;
    /* warm gold */
    max-width: 120px;
}

.time-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    gap: 0.25rem;
}