﻿/* -------------------- Base Header Styles -------------------- */
/*.litssa-header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    gap: 15px;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    height: 200px;
    margin: 0;
}*/
.litssa-header-container {
    /*width: 1200px;*/ /* or max-width: 1200px; */
    margin: 0 auto 20px; /* left/right auto = center horizontally */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-sizing: border-box;
}


    .litssa-header-container.left {
        justify-content: flex-start;
        text-align: left;
    }

.header-logo {
    height: 32px;
    width: auto;
    display: inline-block;
    filter: brightness(0.85);
}

.litssa-header-container h1,
.litssa-header-container h2,
.litssa-header-container h3,
.litssa-header-container h4 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: black !important; /* Increased contrast, softened navy-gray */
    text-align: center
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* -------------------- Themes -------------------- */
.litssa-header-container.formal {    
    background-color: #f5f5f5;
    border-bottom: 2px solid #2f4f4f;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
}

    .litssa-header-container.formal h4 {
        font-size: 20px;
        font-weight: 600;
        color: #ffffff;
    }

.dark-mode .litssa-header-container.formal h4 {
    color: #dfe6e9; /* Soft light gray-blue for contrast */
}

.litssa-header-container.email {
    background-color: #eeeeee;
    border-top: 3px solid #455a64;
    border-bottom: 3px solid #8d6e63;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

    .litssa-header-container.email h4 {
        font-size: 18px;
        font-weight: bold;
        color: #37474f;
    }

.litssa-header-container.slide {
    background: linear-gradient(to right, #37474f, #263238);
    color: #f0f0f0;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .litssa-header-container.slide h4 {
        font-size: 1.6rem;
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* softened shadow */
        color: #eceff1;
    }

/* -------------------- Dark Mode (Scoped) -------------------- */
.dark-mode .litssa-header-container.formal {
    background-color: #2e3b4e;
    color: #cfd8dc;
    border-color: #90a4ae;
}

.dark-mode .litssa-header-container.email {
    background-color: #3e4c59;
    color: #e0e0e0;
    border-top-color: #90a4ae;
    border-bottom-color: #b0bec5;
}

.dark-mode .litssa-header-container.slide {
    background: linear-gradient(to right, #2e3b4e, #1c262f);
    color: #eceff1;
}

.dark-mode .header-logo {
    filter: brightness(0.9) invert(0.85);
}

/* -------------------- Dark Mode Toggle -------------------- */
.dark-mode-toggle {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1000;
    font-family: sans-serif;
}

    .dark-mode-toggle input[type="checkbox"] {
        margin-right: 5px;
    }

/* -------------------- Background Image Option -------------------- */
.litssa-header-container.with-background {
    /*background-color: #007A33;*/ /* DALRRD green */
    background-size: cover;
    background-position: center;
    height: 50px !important;
    /*color: #ffffff;*/
    text-align: center;
}

/* -------------------- Optional: Body Dark Mode -------------------- */
.dark-mode {
    background-color: #1e1e1e;
    color: #e0e0e0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.swal-desktop-title {
    font-size: 16px;
    font-weight: 500;
    color: #2e2e2e;
    margin-bottom: 10px;
    line-height: 1.2;
}

.swal-desktop-icon {
    width: 40px !important; /* Smaller than default (~80px) */
    height: 40px !important;
    line-height: 40px !important;
    font-size: 20px !important; /* Resize the inner icon (like × or ! or ✓) */
    margin: 0 auto 10px auto !important;
}

.swal2-icon.swal-desktop-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
    line-height: 40px !important;
    margin: 10px auto !important;
}

/* Remove the bright red background and border for a cleaner look */
.swal2-icon.swal2-error.swal-desktop-icon {
    border-color: #aaa !important;
    color: #aaa !important;
    border-width: 2px !important;
    background: none !important;
    box-shadow: none !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
    line-height: 40px !important;
}

    /* Style the X mark inside the error icon */
    .swal2-icon.swal2-error.swal-desktop-icon [class^="swal2-x-mark-line"] {
        background-color: #aaa !important; /* dull grey instead of red */
    }

swal2-icon.swal2-success.swal-desktop-icon {
    border-color: #8bc34a !important;
    color: #8bc34a !important;
    border-width: 2px !important;
    background: none !important;
    box-shadow: none !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
    line-height: 40px !important;
}

/* Success checkmark arms */
.swal2-icon.swal2-success.swal-desktop-icon [class^="swal2-success-line"] {
    background-color: #8bc34a !important;
}

.swal-custom-button {
    background-color: #f0f0f0 !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 4px;
    box-shadow: none;
}



