/*───────────────────────────────────────────────
  standard-style.css  ·  Unified styling layer
───────────────────────────────────────────────*/

:root {
    /* Base colors */
    --color-black: #1a1a1a;
    --color-dark-gray: #333333;
    --color-medium-gray: #666666;
    --color-light-gray: #999999;
    --color-white: #ffffff;

    /* State colors */
    --state-success: #28a745;
    --state-warning: #ffc107;
    --state-danger: #dc3545;
    --state-info: #17a2b8;
    
    /* Merged variables using consolidated colors */
    --text-primary: var(--color-black);
    --text-secondary: var(--color-dark-gray);
    --text-light: var(--color-light-gray);
    --text-white: var(--color-white);
    --text-on-primary: var(--color-white);
    --text-on-secondary: var(--color-white);

    --bg-primary: var(--color-white);
    --bg-dark: var(--color-black);
    --bg-panel: var(--bg-primary);
    --c-text: var(--color-black);
    --c-surface: var(--color-white);
    --c-primary: var(--brand-primary);
    --c-primary-dark: var(--brand-primary-dark);

    --border-default: var(--color-light-gray);
    --border-light: var(--color-light-gray);
    --border-primary: var(--brand-primary);

    /* ===== TYPOGRAPHY ===== */
    --font-base: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-primary: var(--font-base);
    --font-monospace: "Monaco", "Consolas", "Courier New", monospace;
    
    /* Font sizes */
    --font-size-base: 14px;
    --font-size-small: 12px;
    --font-size-large: 16px;
    --font-size-h1: 36px;
    --font-size-h2: 30px;
    --font-size-h3: 24px;
    --font-size-h4: 18px;

    /* Font weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* ===== COMPONENT VARIABLES ===== */
    /* Buttons */
    --btn-height: 40px;
    --btn-padding-x: 20px;
    --btn-padding-y: 5px;
    --btn-border-radius: 4px;
    --btn-border-width: 1px;
    --btn-font-weight: var(--font-weight-medium);

    /* Panels/Cards */
    --panel-border-radius: 4px;
    --panel-border-width: 1px;
    --panel-header-bg: var(--color-light-gray);
    --panel-header-color: var(--text-primary);
    --panel-header-border: var(--border-default);
    --panel-header-height: 50px;

    /* Forms */
    --form-border-radius: 4px;
    --form-border-width: 1px;
    --form-border-color: var(--border-default);
    --form-focus-color: var(--brand-primary);
    --form-focus-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);

    /* Navigation */
    --nav-bg: var(--brand-primary);
    --nav-text: var(--text-white);
    --nav-hover-bg: var(--brand-accent-1);
    --nav-hover-text: var(--text-white);
    --nav-active-bg: var(--brand-accent-1);
    --nav-active-text: var(--text-white);
    --nav-height: 80px;
    --nav-border: var(--border-light);
    
    
    /* ===== SPACING & LAYOUT ===== */
    --radius-small: 2px;
    --radius-base: 4px;
    --radius-large: 8px;
    --radius-xlarge: 12px;
    --radius-round: 50%;

    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 20px;
    --space-lg: 30px;
    --space-xl: 40px;
    --space-xxl: 60px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-base: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-focus: var(--form-focus-shadow);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Z-index scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ===== COMPONENT SPECIFIC VARIABLES ===== */
    --logo-max-height: 60px;
    --logo-max-width: 200px;

    --stepper-active: var(--brand-primary);
    --stepper-complete: var(--state-success);
    --stepper-inactive: var(--border-default);

    --carousel-control-bg: var(--brand-primary);
    --carousel-control-color: var(--text-white);
    --carousel-border: var(--border-default);

    --footer-bg: var(--color-white);
    --footer-text: var(--color-dark-gray);
    --footer-link: var(--brand-accent-1);

}

/*───────────────────────────────────────────────
  1 — Normalise
───────────────────────────────────────────────*/
*, *::before, *::after {
    box-sizing: border-box
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

/*───────────────────────────────────────────────
  2 — Base theme (uses variables only)
───────────────────────────────────────────────*/
body {
    font-family: var(--font-base);
    color: var(--c-text);
    background: var(--c-surface);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 .5em;
    color: var(--c-text);
}

a {
    color: var(--c-primary);
    text-decoration: none
}

a:hover {
    color: var(--c-primary-dark);
    text-decoration: underline
}

/*───────────────────────────────────────────────
  3 — Utilities
───────────────────────────────────────────────*/
.none {
    display: none
}

.block {
    display: block
}

.inline-block {
    display: inline-block
}

.flex {
    display: flex
}

.flex-wrap {
    flex-wrap: wrap
}

.table {
    display: table;
    height: 100%
}

.table-row {
    display: table-row
}

.table-cell {
    display: table-cell
}

.valign-top {
    vertical-align: top
}

.valign-middle {
    vertical-align: middle
}

.valign-bottom {
    vertical-align: bottom
}

.ohidden {
    overflow: hidden
}

.width-100p {
    width: 100%
}

.height-100p {
    height: 100%
}

.text-left {
    text-align: left
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

.mt-0 {
    margin-top: 0
}

.mb-0 {
    margin-bottom: 0
}

.ml-0 {
    margin-left: 0
}

.mr-0 {
    margin-right: 0
}

.pt-0 {
    padding-top: 0
}

.pb-0 {
    padding-bottom: 0
}

.pl-0 {
    padding-left: 0
}

.pr-0 {
    padding-right: 0
}

/*───────────────────────────────────────────────
  4 — HEADER & MENU (uses variables only)
───────────────────────────────────────────────*/

/* === General header wrapper === */
body.homepage .header-line-wrapper {
    position: absolute
}

.header-line-wrapper {
    height: var(--nav-height);
    transition: all .3s
}

.header-line-wrapper.affix-top {
    height: var(--nav-height)
}

.header-line-wrapper .fixed-top {
    position: fixed !important;
    top: 0;
    z-index: 150;
    transition: all .3s
}

/* === Logo & menu line-height behaviour on scroll === */
header.affix-top .logo,
header.affix-top .menu-1 > li {
    line-height: var(--nav-height);
    transition: all .3s
}

/* === Header types === */
header.type-1 {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 100;
    height: var(--nav-height);
    background: var(--nav-bg);
    box-shadow: var(--shadow-lg)
}

header.type-1 .flexMenu-popup {
    background-color: var(--nav-bg)
}

header.type-4 {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 100;
    height: var(--nav-height);
    background: var(--nav-bg);
    box-shadow: var(--shadow-lg)
}

/* === Logo === */
header .logo img {
    padding: 10px; !important;
    max-width: var(--logo-max-width)
}

.logo {
    position: relative !important;
}

/* === Toggle / hamburger === */
header .toggle_menu {
    display: none;
    width: 60px;
    height: var(--nav-height);
    position: relative;
    cursor: pointer
}

header .toggle_menu span,
header .toggle_menu:before,
header .toggle_menu span:before,
header .toggle_menu span:after {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--nav-text);
    content: "";
    transition: var(--transition-base)
}

header .toggle_menu:before {
    top: 28px
}

header .toggle_menu span {
    top: 39px
}

header .toggle_menu span:before {
    top: -11px
}

header .toggle_menu span:after {
    top: 11px
}

header .toggle_menu.open {
    background: var(--nav-bg)
}

header .toggle_menu.open span {
    background: var(--nav-text)
}

/* === Main layout === */
header .table {
    width: 100%;
    height: 100%
}

header .logo-wrapper,
header .main-menu {
    display: table-cell;
    vertical-align: middle
}

/* === Top-level menu === */
header .menu-1 {
    font-size: 0
}

header .menu-1 > li {
    display: inline-block;
    margin: 0 15px;
    line-height: var(--nav-height);
    position: relative;
    transition: var(--transition-base)
}

header .menu-1 > li > a {
    display: block;
    height: var(--nav-height);
    line-height: var(--nav-height);
    font: 600 14px/var(--nav-height) var(--font-heading);
    text-transform: uppercase;
    color: var(--nav-text);
    transition: var(--transition-base)
}

header .menu-1 > li > a:hover {
    color: var(--nav-hover-text)
}

header .menu-1 > li > a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    width: 1px;
    height: 10px;
    transform: translateY(-50%);
    background: currentColor;
    opacity: .2
}

header .menu-1 > li:last-child > a:after {
    display: none
}

/* Accent bar on hover/active */
header .menu-1 > li:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--nav-hover-text);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base)
}

header .menu-1 > li:hover:before,
header .menu-1 > li.active:before {
    opacity: 1;
    visibility: visible
}

/* === Dropdown === */
header .menu-1 .dropdown-menu,
header .menu-1 .sub-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    min-width: 190px;
    padding: 20px 0;
    z-index: 99;
    background: var(--nav-hover-bg);
    border-radius: var(--radius-base);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

header .menu-1 > li:hover > .dropdown-menu,
header .menu-1 > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s
}

header .menu-1 .dropdown-menu li,
header .menu-1 .sub-menu li {
    width: 100%;
    list-style: none;
    padding: 0;
    position: relative
}

header .menu-1 .dropdown-menu li > a,
header .menu-1 .sub-menu li > a {
    display: block;
    padding: 10px 20px;
    font: 600 14px var(--font-base);
    color: var(--nav-hover-text);
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition-base)
}

header .menu-1 .dropdown-menu li > a:hover,
header .menu-1 .sub-menu li > a:hover {
    opacity: .8;
    background: rgba(255, 255, 255, 0.1)
}

/* === Responsive === */
@media (max-width: 805px) {
    header .toggle_menu {
        display: block
    }

    header .main-menu {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        background: var(--nav-bg);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: .5s
    }

    header .main-menu.open {
        left: 0;
        visibility: visible;
        opacity: 1
    }

    header .menu-1 > li {
        float: none;
        margin: 14px 0;
        line-height: normal
    }

    header .menu-1 > li:before, header .menu-1 > li > a:after {
        display: none
    }

    header .menu-1 .dropdown-menu,
    header .menu-1 .sub-menu {
        position: static;
        transform: none;
        background: transparent;
        padding: 0;
        box-shadow: none
    }

    header .menu-1 .dropdown-menu li > a,
    header .menu-1 .sub-menu li > a {
        padding: 10px 20px;
        font-size: 13px
    }
}

/*───────────────────────────────────────────────
  5 — LAYOUT LOCKS
───────────────────────────────────────────────*/
header .menu-1 > li {
    line-height: var(--nav-height) !important;
}

header .menu-1 > li > a {
    height: var(--nav-height) !important;
    line-height: var(--nav-height) !important;
    font: 600 14px/var(--nav-height) var(--font-heading);
}

/*───────────────────────────────────────────────
  6 — BUTTONS & FORMS (comprehensive styling)
───────────────────────────────────────────────*/

/* === BASE BUTTON STYLES === */
.btn, input[type="button"], input[type="submit"], input[type="reset"], button {
    display: inline-block;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    margin: 0;
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    font-weight: var(--btn-font-weight);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: var(--btn-border-width) solid transparent;
    border-radius: var(--btn-border-radius);
    background-image: none;
    transition: var(--transition-base);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.btn:focus, input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus, button:focus {
    outline: none;
    box-shadow: var(--form-focus-shadow);
}

.btn:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active, input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, button:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:disabled, input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled, button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* === BUTTON VARIANTS === */
.btn-primary, input[type="submit"] {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-on-primary);
}

.btn-primary:hover, input[type="submit"]:hover {
    background-color: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    color: var(--text-on-primary);
}

.btn-default, input[type="button"], input[type="reset"], button {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-on-primary);
}

.btn-default:hover, input[type="button"]:hover, input[type="reset"]:hover, button:hover {
    background-color: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    color: var(--text-on-primary);
}

.btn-secondary {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: var(--text-on-secondary);
}

.btn-secondary:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    color: var(--text-white);
}

.btn-success {
    background-color: var(--state-success);
    border-color: var(--state-success);
    color: var(--text-white);
}

.btn-success:hover {
    background-color:var(--state-success);
    border-color: var(--state-success);
    color: var(--text-white);
}

.btn-danger {
    background-color: var(--state-danger);
    border-color: var(--state-danger);
    color: var(--text-white);
}

.btn-danger:hover {
    background-color: var(--state-danger);
    border-color: var(--state-danger);
    color: var(--text-white);
}

.btn-warning {
    background-color: var(--state-warning);
    border-color: var(--state-warning);
    color: var(--text-primary);
}

.btn-warning:hover {
    background-color: var(--state-warning);
    border-color: var(--state-warning);
    color: var(--text-primary);
}

.btn-info {
    background-color: var(--state-info);
    border-color: var(--state-info);
    color: var(--text-white);
}


.btn-info:hover {
    background-color: var(--state-info);
    border-color: var(--state-info);
    color: var(--text-white);
}

/* === BUTTON SIZES === */
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    min-height: 30px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    min-height: 48px;
}

/* === FORM CONTROLS === */
.form-control, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="tel"], input[type="url"],
input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"],
select, textarea {
    display: block;
    width: 100%;
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: none;
    border: var(--form-border-width) solid var(--form-border-color);
    border-radius: var(--form-border-radius);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: var(--transition-base);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-control:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus,
input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="url"]:focus,
input[type="date"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus,
select:focus, textarea:focus {
    border-color: var(--form-focus-color);
    outline: none;
    box-shadow: var(--form-focus-shadow);
}

.form-control:disabled, input:disabled, select:disabled, textarea:disabled {
    background-color: var(--color-white);
    opacity: 1;
    cursor: not-allowed;
}

/* === FORM GROUPS === */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

/* === FORM INLINE === */
.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    margin-right: 10px;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-inline .btn {
    vertical-align: middle;
}

/* === SELECT STYLING === */
select.form-control, select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 32px;
}

/* === PANELS === */
.panel {
    margin-bottom: 20px;
    background-color: var(--bg-panel);
    border-radius: var(--panel-border-radius);
    box-shadow: var(--shadow-sm);
}

.panel-header, .panel-heading {
    padding: 10px 15px;
    background-color: var(--panel-header-bg);
    border-bottom: var(--panel-border-width) solid var(--panel-header-border);
    border-radius: calc(var(--panel-border-radius) - 1px) calc(var(--panel-border-radius) - 1px) 0 0;
}

.panel-title {
    margin: 0;
    font-size: 16px;
    color: var(--panel-header-color);
}

.panel-body {
    padding: 15px;
}

/* === BOOTSTRAP COMPATIBILITY === */
.row {
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col-md-12 {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-6 {
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

.col-md-4 {
    width: 33.333333%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-8 {
    width: 66.666667%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-sm-6 {
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {
    .hideonmobile {
        display: none;
    }

    .col-md-12, .col-md-6, .col-md-4, .col-md-8, .col-sm-6 {
        width: 100%;
        margin-bottom: 15px;
    }

    .form-inline .form-group {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .form-inline .form-control {
        display: block;
        width: 100%;
    }
}

/* === FOOTER === */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 10px 0; !important;
    padding-top: 5px !important;
}

.footer a {
    color: var(--footer-link);
}

.footer a:hover {
    color: var(--brand-accent-1);
}

/* === LOADING INDICATOR === */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 18px;
    color: var(--brand-primary);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.back-to-top button {
    background: var(--brand-primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.back-to-top button:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
}

/*───────────────────────────────────────────────
  7 — COMPONENT SPECIFIC STYLES
───────────────────────────────────────────────*/

/* === Dashboard Circles === */
.circle {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-light);
    border-radius: 80px;
    font-size: 25px;
    font-weight: bold;
    line-height: 80px;
}

.circledescription {
    position: relative;
    display: block;
    font-size: 12px;
    line-height: normal;
    font-weight: bold;
}

/* === Loader === */
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 100001;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required)::after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* === Image === */
.img-fulltext-float-right {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

.img-fulltext-float-left {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.img-intro-float-right {
    float: right;
    margin-left: 5px;
    margin-bottom: 5px;
}

.img-intro-float-left {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* === IFrame === */
.max-embedded-view {
    width: 100%;
    max-width: 100%;
}

/* === Pager === */
.standard-pager {
    /* Define a custom wrapper style for the pager */
    display: flex;
    justify-content: center;
    padding: var(--space-md) 0;
    background-color: var(--bg-panel);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-base);
}

.standard-pager ul.pagination {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-sm);
}

.standard-pager ul.pagination > li {
    display: inline-block;
}

.standard-pager ul.pagination > li > a,
.standard-pager ul.pagination > li > span {
    display: inline-block;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    text-decoration: none;
    color: var(--color-medium-gray);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--btn-border-radius);
    transition: var(--transition-fast);
}

.standard-pager ul.pagination > li > a:hover {
    color: var(--text-white);
    background-color: var(--brand-primary);
    border-color: var(--brand-primary-dark);
}

.standard-pager ul.pagination > li.active > a {
    color: var(--text-white);
    background-color: var(--brand-primary);
    border: 1px solid var(--brand-primary-dark);
    cursor: default;
}

.standard-pager ul.pagination > li.disabled > a,
.standard-pager ul.pagination > li.disabled > span {
    color: var(--text-light);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-default);
    pointer-events: none;
}
