@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --graphite: #333333;
    --chestnut: #852D29;
    --red: #D7271F;
    --red-orange: #E04F1D;
    --orange: #E8761A;
    --orange-yellow: #F09C0F;
    --yellow: #F7C204;
    --white: #FFFFFF;
}


body {
    margin-left: 0 !important;
    background-image: url('../images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    margin: 0;
}

/* Theme button styles to match site UI */
.btn-theme {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-radius: .5rem;
    background: var(--chestnut);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-theme:hover {
    background: var(--red-orange);
    transform: translateY(-1px);
    color: var(--white);
}

.add-user-btn:hover {
    color: var(--white);
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(51, 51, 51, 0.08);
    color: var(--graphite);
    border-radius: 6px;
    padding: .4rem .6rem;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline-secondary.active,
.btn-outline-secondary:focus {
    background: var(--chestnut);
    color: var(--white);
    border-color: var(--chestnut);
}

/* Primary buttons used across the app */
.btn-primary {
    background: linear-gradient(90deg, var(--chestnut) 0%, var(--red) 100%);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: .45rem .7rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--chestnut);
    color: var(--chestnut);
    border-radius: 6px;
    padding: .35rem .6rem;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: linear-gradient(90deg, var(--red-orange) 0%, var(--yellow) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(240, 156, 15, 0.12);
    transform: translateY(-1px);
    transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}

/* Small button adjustments for table action buttons */
.btn-sm {
    padding: .3rem .5rem;
    font-size: .85rem;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
    z-index: 0;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
}

.logo-sm {
    width: 120px;
    height: auto;
}