/* LuminaPulse Archive — luminous navy + warm pulse gold */

:root {
    /* Primary — deep midnight blue */
    --aexp-primary: #1a2744;
    --aexp-primary-dark: #111a30;
    --aexp-primary-light: #2d4a7c;
    --aexp-secondary: #3d5a8a;
    --aexp-secondary-dark: #152038;

    /* Accent — warm light / pulse */
    --aexp-accent: #f0b429;
    --aexp-accent-light: #ffd166;
    --aexp-accent-dark: #d4920a;
    --aexp-glow: #ff9f43;
    --aexp-violet: #7c6cf0;

    /* Background Gradients */
    --aexp-gradient-main: linear-gradient(135deg, #111a30 0%, #1a2744 45%, #2d4a7c 100%);
    --aexp-gradient-light: linear-gradient(135deg, #2d4a7c 0%, #3d5a8a 100%);
    --aexp-gradient-accent: linear-gradient(135deg, #1a2744 0%, #2d4a7c 55%, #7c6cf0 100%);
    --aexp-gradient-pulse: linear-gradient(135deg, #f0b429 0%, #ff9f43 50%, #ffd166 100%);

    /* UI Colors */
    --aexp-success: #008000;        /* Green */
    --aexp-warning: #cf770a;        /* Orange/amber */
    --aexp-danger: #cd2407;         /* Red */
    --aexp-info: #084c64;           /* Use primary for info */

    /* Text Colors */
    --aexp-text-primary: #333333;   /* Dark gray */
    --aexp-text-secondary: #707070; /* Medium gray */
    --aexp-text-muted: #7b7b7b;     /* Light gray */

    /* Background Colors */
    --aexp-bg-primary: #ffffff;
    --aexp-bg-secondary: #f9f9f9;   /* Light gray */
    --aexp-bg-tertiary: #eef1f8;    /* Soft cool gray with hint of blue */

    /* Border Colors */
    --aexp-border-light: #d9d9d9;   /* Light gray */
    --aexp-border-medium: #707070;  /* Medium gray */
    --aexp-border-dark: #333333;    /* Dark gray */
}

/* Legacy header button styles (kept for embedded views) */
.hdrTitle {
    color: white;
}

/* Button Styles */
.hdrBtn {
    transition: all 0.3s ease;
}

.hdrBtn:hover {
    background: rgba(246, 221, 0, 0.15);
    color: var(--aexp-accent);
}

.hdrBtn:hover .matIcn {
    color: var(--aexp-accent);
}

.hdrBtnActive {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid var(--aexp-accent);
}

.hdrBtnActive .matIcn {
    color: var(--aexp-accent);
}

.hdrBtnLogout {
    background: rgba(205, 36, 7, 0.2);
}

.hdrBtnLogout:hover {
    background: rgba(205, 36, 7, 0.3);
    color: #fff;
}

/* Form Buttons */
.inpSbm {
    background: var(--aexp-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.inpSbm:hover {
    background: var(--aexp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inpSbmActive {
    background: var(--aexp-secondary);
}

.inpSbmSave {
    background: var(--aexp-success);
}

.inpSbmSave:hover {
    background: #006600;
}

.inpSbmEdit {
    background: var(--aexp-info);
}

.inpSbmEdit:hover {
    background: var(--aexp-primary-dark);
}

.inpSbmDel {
    background: var(--aexp-danger);
}

.inpSbmDel:hover {
    background: #dc2626; /* Red 600 */
}

/* Info Messages */
.infoMsg {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    position: relative;
    padding-left: 45px;
}

.infoMsgBlue {
    background: #e8f4f8;
    border-left: 4px solid var(--aexp-info);
    color: #084c64;
}

.infoMsgGreen {
    background: #e6f4e6;
    border-left: 4px solid var(--aexp-success);
    color: #004a00;
}

.infoMsgYellow {
    background: #fffbea;
    border-left: 4px solid var(--aexp-warning);
    color: #7d5000;
}

.errorMsg {
    background: #fde8e6;
    border-left: 4px solid var(--aexp-danger);
    color: #8b0000;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    position: relative;
    padding-left: 45px;
}

/* Links */
a {
    color: var(--aexp-primary);
    text-decoration: none;
}

a:hover {
    color: var(--aexp-primary-dark);
    text-decoration: underline;
}

/* Tables */
.noteTable {
    border-collapse: collapse;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.noteTableHdr {
    background: var(--aexp-gradient-main);
    color: white;
}

.noteTable tbody tr:hover {
    background: var(--aexp-bg-secondary);
}

/* Legacy footer */
.ftrBar {
    background: #fff;
    color: var(--aexp-text-secondary);
    border-top: 1px solid var(--aexp-border-light);
}

/* Select2 Override for Archive */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--aexp-primary);
}

.select2-container--default .select2-selection--single:focus {
    border-color: var(--aexp-primary);
}

/* Input Focus States */
.inpFld:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--aexp-primary);
    box-shadow: 0 0 0 3px rgba(8, 76, 100, 0.1);
}

