/* Custom CSS to override Bootstrap's color */
:root {
    --bs-primary: #b2560d;
    /* Custom Primary Color */
    --bs-secondary: #8b1a1a;
    --bs-break: #a0d8eF;
    --bs-alternative: #ece3dc;
    --bs-light: #f8f9fa;
    --bs-light-accent: #e7e7e7;
    --bs-dark: #393939;
    --bs-dark-accent: #303030;
    --bs-background: var(--bs-light);
    --bs-background-accent: var(--bs-light-accent);
    --bs-foreground: var(--bs-dark);

    --radius-sm: 2px;
    /* Sharper edges */
    --radius-md: 4px;
    --transition-fast: all 0.15s ease-in-out;
    --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: light) {
    :root {
        --bs-background: var(--bs-light);
        --bs-background-accent: var(--bs-light-accent);
        --bs-foreground: var(--bs-dark);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bs-background: var(--bs-dark);
        --bs-background-accent: var(--bs-dark-accent);
        --bs-foreground: var(--bs-light);
    }
}

/***************************************[ BODY / NAVBAR ]************************************************/
body {
    background-color: var(--bs-background);
    color: var(--bs-foreground);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.navbar {
    background-color: var(--bs-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    color: var(--bs-light);
    font-weight: bold;
}

.navbar-brand:hover {
    color: var(--bs-light);
    font-weight: bold;
}

.nav-link {
    color: var(--bs-alternative) !important;
    margin: 0 0.5rem;
    transition: color 0.2s, transform 0.2s;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.navbar-toggler-icon {
    color: #fff;
}

.flux-icon {
    fill: var(--bs-light);
}

.navbar-profile {
    color: var(--bs-light);
    font-size: 18px;
}

.toast {
    position: fixed;

    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 11;
    display: none;
}

.toast-close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #fff;
}

/* Hero White Box */
.hero {
    background: #ffffff;
    color: var(--bs-dark);
    padding: 3rem 2rem;
    text-align: center;
    /* border-top: 4px solid var(--bs-primary); */
    border-bottom: 4px solid var(--bs-secondary);
    margin-top: 1.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0;
}

.justified {
    text-align: justify;
    text-justify: inter-word;
    /* Makes spacing smoother */
}

/****************************************************************************************************************/

.inverted-letter {
    display: inline-block;
    background-color: white;
    /* uses the current text color */
    color: #b2560d;
    /* or set to your background color */
    padding: 0 0.2em;
    border-radius: 0.2em;
}

.mini-table th,
tr,
td {
    border: 1px solid var(--bs-primary);
    /* Apply the border color to table cells (th and td) */
    padding: 8px;
    /* Add some padding for better spacing */
    width: 80px;
    height: 20px;
    border-collapse: collapse;
}

/***************************************[ FLUX PRIMARY BUTTON ]************************************************/
.flux-primary-btn {
    background: var(--bs-primary);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    color: var(--bs-light);
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.flux-primary-btn:hover {
    filter: brightness(0.95);
    color: var(--bs-light);
    background: var(--bs-primary);
    background-color: var(--bs-primary);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.flux-primary-btn:active {
    color: var(--bs-light);
    filter: brightness(0.85);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flux-primary-btn:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

/****************************************************************************************************************/

/***************************************[ FLUX secondary BUTTON ]************************************************/
.flux-secondary-btn {
    background: var(--bs-primary);
    border: none;
    border-radius: 2px;
    color: var(--bs-light);
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.flux-secondary-btn:hover {
    filter: brightness(0.95);
    color: var(--bs-light);
    background: var(--bs-secondary);
    background-color: var(--bs-secondary);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.flux-secondary-btn:active {
    color: var(--bs-light);
    filter: brightness(0.85);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flux-secondary-btn:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

/****************************************************************************************************************/

/***************************************[ FLUX third BUTTON ]************************************************/
.flux-third-btn {
    background: var(--bs-alternative);
    border: none;
    border-radius: 2px;
    color: var(--bs-dark);
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.flux-third-btn:hover {
    filter: brightness(0.95);
    color: var(--bs-light);
    background: var(--bs-primary);
    background-color: var(--bs-primary);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.flux-third-btn:active {
    color: var(--bs-light);
    filter: brightness(0.85);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flux-third-btn:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

/****************************************************************************************************************/