/* ================================
   GLOBAL COLORS
================================= */
:root {
    --primary-color: rgb(11, 30, 89);
    --secondary-color: #2D4896;
    --nav-color: #cccccc;
    --primary-text-light: #ffffff;
    --tagline-color: #cccccc; /* Light grey for tagline */
}

/* Stick footer to bottom */
html, body {
    /* height: 100%; */
}
body {
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* HEADER & FOOTER COLORS */
header, footer {
    background-color: var(--primary-color) !important;
    color: var(--primary-text-light);
}

header .nav-link,
header .navbar-brand {
    color: var(--primary-text-light) !important;
}

header .nav-link:hover,
header .nav-link:focus {
    color: var(--nav-color) !important;
}

/* Dropdown menu background + links */
.dropdown-menu {
    border-color: var(--secondary-color);
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--secondary-color);
    color: #fff !important;
}

/* Submenu arrow color */
.dropdown-submenu > a::after {
    color: var(--secondary-color);
}

/* Multi-level submenu positioning */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.3rem;
}

/* Make hamburger (navbar-toggler-icon) white */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Mobile: indent submenus slightly */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        padding-left: 15px !important; /* your indent */
    }
}

/* ================================
   CUSTOM HEADER STYLES
================================= */
/* Container for large screens with 5% margin */
@media (min-width: 992px) {
    .logo-container {
        margin-left: 5%;
        margin-right: 5%;
    }
    .navbar-nav {
        margin-right: 5%;
    }
}

/* Tagline styling */
.company-tagline {
    color: var(--tagline-color); /* Apply the muted grey color to the tagline */
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;  /* adjust as needed */
    width: auto;
}

.text-group {
    display: flex;
    flex-direction: column;
}

.alert-responsive {
      font-weight: 600;        /* semi-bold text */
      text-align: center;      /* center text */
      padding: 0.5rem 1rem;    /* spacing inside the alert */
      animation: blink 1s 3;   /* blink twice */
      margin: 0 auto;          /* center the div horizontally */
    }

.alert-responsive-regular {
      font-weight: 600;        /* semi-bold text */
      text-align: center;      /* center text */
      animation: blink 1s 3;   /* blink twice */
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }
    
  th.header-cell {
  background-color: #005792;
  color: white;
  /* font-size: small; */
  font-weight: 600;
}


/* Maroon button */
.btn-maroon {
    color: #fff;
    background-color: #800000;        /* maroon */
    border-color: #800000;
}

/* Hover */
.btn-maroon:hover {
    color: #fff;
    background-color: #660000;        /* darker maroon */
    border-color: #590000;
}

/* Focus (outline) */
.btn-maroon:focus,
.btn-maroon.focus {
    color: #fff;
    background-color: #660000;
    border-color: #590000;
    box-shadow: 0 0 0 0.25rem rgba(128, 0, 0, 0.4);
}

/* Active (click) */
.btn-maroon:active,
.btn-maroon.active,
.show > .btn-maroon.dropdown-toggle {
    color: #fff;
    background-color: #590000;
    border-color: #4d0000;
}

/* Active + focus */
.btn-maroon:active:focus,
.btn-maroon.active:focus {
    box-shadow: 0 0 0 0.25rem rgba(128, 0, 0, 0.4);
}

/* Disabled */
.btn-maroon:disabled,
.btn-maroon.disabled {
    color: #fff;
    background-color: #800000;
    border-color: #800000;
    opacity: 0.65;
}

.status-approved {
    background-color: #4CAF50 !important;   /* Green */
    color: #FFFFFF !important;              /* White text */
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.status-declined {
    background-color: #E53935 !important;   /* Red */
    color: #FFFFFF !important;              /* White text */
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.status-pending {
    background-color: #F2F2F2 !important;   /* Light yellow/cream */
    color: #000 !important;              /* Dark complementary text */
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.pending-badge {
    background-color: #800000;   /* Maroon */
    color: #ffffff;              /* White text for contrast */
    border-radius: 50%;          /* Makes it a circle */
    padding: 6px 10px;           /* Controls size of circle */
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;             /* Ensures shape remains circular */
    height: 30px;                /* Makes circle vertically even */
}

.captcha-css {
    background: #e8eef5; 
    padding: 10px 20px;          /* Makes circle vertically even */
}

.bold-numbers li::marker {
    font-weight: 600;
}

.p-5-custom {
	padding: 20px;
}

.text-maroon {
	color: maroon;
    font-size: small;
    text-align: justify;	
}

/* Tablet and smaller devices */
@media (max-width: 768px) {
    .p-5-custom {
		padding: 5px !important;
	}
}

.required::after {
    content: " *";
    color: maroon;
    font-weight: bold;
    text-align: justify;
}

.text-maroon::before {
    content: "* ";
    color: maroon;
    font-weight: bold;
    text-align: justify;
}
/* Hide column */
.hidden-col {
	display: none !important;
}
/* Make dropdown wide & scrollable */
.dropdown-menu-columns {
	max-height: 250px;
	min-width: 250px !important;
    overflow-y: auto;
    padding: 10px;
}

.fa-file-excel-o {
    color: #1d6f42 !important; /* Excel green */
}

.fa-file-pdf-o {
    color: #d32f2f !important; /* PDF red */
}

.fa {
    opacity: 0.80;
}



