/* ============================================
   ASZ FONT FAMILY (Gotham)
   ============================================ */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham Condensed';
    src: url('../fonts/gotham/GothamCond-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ============================================
       ASZ BRAND PALETTE
       ============================================ */
    --brand-purple: #4e59b0;
    --brand-purple-dark: #3a4490;
    --brand-purple-light: #6b75c4;
    --brand-lime: #b5ea2c;
    --brand-teal: #267e77;
    --brand-green: #31b641;
    --brand-bright-green: #35df16;
    --nav-active-green: #389e54; /* active sidebar item (sampled from mockup) */
    --nav-active-green-dark: #2f8746;

    /* ============================================
       ASZ TYPOGRAPHY
       ============================================ */
    --font-heading: 'Gotham', 'Open Sans', sans-serif;
    --font-body: 'Gotham', 'Open Sans', sans-serif;
    --font-condensed: 'Gotham Condensed', 'Open Sans', sans-serif;

    /* Primary Colors */
    --primary-color: #4e59b0;
    --primary-dark: #3a4490;
    --primary-light: #6b75c4;

    /* Background Colors */
    --bg-main: #fdfdfd;
    --bg-secondary: #F3F3F3;
    --bg-white: #fff;
    --bg-panel: #F8F8F8;
    --bg-gray-light: #f3f3f3;

    /* Text Colors */
    --text-primary: #000;
    --text-secondary: #8d8888;
    --text-light: #fff;
    --text-muted: #bdc3c7;

    /* Status Colors */
    --success-color: #31b641;
    --success-dark: #267e77;
    --info-color: #4e59b0;
    --danger-color: #DB0630;
    --danger-dark: #AF0000;
    --warning-color: #B94A00;

    /* Navigation Colors */
    --nav-bg: #ffffff;
    --nav-header: #4D4D4D;
    --nav-brand: #4e59b0;
    --nav-toggle: #4e59b0;
    --nav-toggle-hover: #3a4490;
    --nav-sidebar-bg: #2e3e50;
    --nav-sidebar-border: #34495e;
    --nav-active: #1a2832;
    --nav-active-border: #3a4490;
    --nav-hover: #0A0A0A;
    --nav-accent: #ff0000;

    /* Special Colors */
    --purple-gradient: #8702A8;
    --border-color: #808080;
    --shadow-color: rgba(107, 108, 109, 0.19);
    --nav-border-light: #4e59b0;

    /* Sidebar Dropdown Navigation */
    --sidebar-dropdown-submenu-bg: #00a950;
    --sidebar-dropdown-submenu-hover: #000000;
    --sidebar-dropdown-submenu-active: #428bca;
    --sidebar-dropdown-submenu-border: #ffffff;
    --sidebar-dropdown-arrow-size: 16px;
    --sidebar-submenu-padding-left: 50px;
    --sidebar-submenu-padding-left-hover: 55px;
    --sidebar-submenu-opacity: 0.85;
    --sidebar-submenu-opacity-hover: 1;
    --sidebar-font-weight: 900;

    /* Authentication Page Colors */
    --auth-bg-image: url("../img/Lionne Studios-3583.jpg");
    --auth-form-bg: #ffffff;
    --auth-form-shadow: rgba(0, 0, 0, 0.25);
    --auth-button-bg: #4e59b0;
    --auth-button-hover: #3a4490;
    --auth-input-border: #ddd;
    --auth-input-focus: #4e59b0;
    --auth-text-primary: #444;
    --auth-text-secondary: #666;
    --auth-text-muted: #555;
    --auth-link-color: #4e59b0;
    --auth-border-light: #eee;
    --auth-spinner-bg: #fff;
    --auth-spinner-transparent: rgba(255, 255, 255, 0.4);

    /* Message Colors */
    --message-success-bg: #d4edda;
    --message-success-text: #155724;
    --message-success-border: #c3e6cb;
    --message-danger-bg: #f8d7da;
    --message-danger-text: #721c24;
    --message-danger-border: #f5c6cb;
    --message-info-bg: #d1ecf1;
    --message-info-text: #0c5460;
    --message-info-border: #bee5eb;
    --message-warning-bg: #fff3cd;
    --message-warning-text: #856404;
    --message-warning-border: #ffeaa7;

    /* Form Element Colors */
    --form-bg-light: #f8f9fa;
    --form-bg-info: #e7f3ff;
    --form-border-info: #b8daff;

    /* Switch View Page Colors */
    --switch-view-bg-image: url(../img/switch_bg.png);
    --switch-view-bg-color: #F3F3F3;
    --switch-view-bg-overlay: rgba(0, 0, 0, 0.3);
    --switch-container-bg: #ffffff;
    --switch-container-shadow: rgba(0, 0, 0, 0.1);

    /* Subscription & Billing Colors */
    --subscription-active-bg: #d4edda;
    --subscription-active-border: #28a745;
    --subscription-pending-bg: #fff3cd;
    --subscription-pending-border: #ffc107;
    --subscription-expired-bg: #f8d7da;
    --subscription-expired-border: #dc3545;
    --subscription-panel-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --switch-title-color: #17bffc;
    --switch-subtitle-color: #666;
    --switch-option-bg: #F8F8F8;
    --switch-option-border: #e9ecef;
    --switch-option-text: #333;
    --switch-option-shadow-hover: rgba(0, 0, 0, 0.15);
    --switch-admin-border: #17bffc;
    --switch-admin-bg: #17bffc;
    --switch-admin-icon-bg: #17bffc;
    --switch-employee-border: #31b641;
    --switch-employee-bg: #31b641;
    --switch-employee-icon-bg: #31b641;
    --switch-icon-hover-bg: rgba(255, 255, 255, 0.2);
}

/*==============================================
    GENERAL  STYLES
    =============================================*/
body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}


 #wrapper {
    width: 100%;
    background: var(--bg-main);
}

#page-wrapper {
    padding: 15px 15px;
    min-height: 600px;
    background: var(--bg-secondary);

}
#page-inner {
    width:100%;
    margin:10px 20px 10px 0px;
    background-color: var(--bg-white)!important;
    padding:10px;
    min-height:1200px;
}

.text-center {
    text-align:center;
}
.no-boder {
    border:1px solid var(--bg-gray-light);
}
h2 {
    color: var(--primary-color);
}
h4 {
    padding-top:10px;
}
.square-btn-adjust {
    border: 0px solid transparent;
   -webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;

}
p {
    font-size:16px;
    line-height:25px;
    padding-top:20px;
}
/*==============================================
   DASHBOARD STYLES
    =============================================*/
.panel-back {
    background-color: var(--bg-panel);

}
   .noti-box {
min-height: 85px;
padding: 15px;
border-radius: 8px;
}

    .noti-box .icon-box {
display: block;
float: left;
margin: 0 12px 8px 0;
width: 38px;
height: 38px;
line-height: 38px;
vertical-align: middle;
text-align: center;
font-size: 16px;
}
.text-box p{
    margin: 0 0 3px;
    font-weight: bold;
}
.main-text {
    font-weight: bold;
}
.set-icon {
    -webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;

}
    .bg-color-green {
background-color: var(--success-color);
color: var(--text-light);
}
 .bg-color-blue {
background-color: var(--info-color);
color: var(--text-light);
}
  .bg-color-red {
background-color: var(--danger-color);
color: var(--text-light);
}
  .bg-color-brown {
background-color: var(--warning-color);
color: var(--text-light);
}


 .icon-box-right {
display: block;
float: right;
margin: 0 15px 10px 0;
width: 70px;
height: 70px;
line-height: 75px;
vertical-align: middle;
text-align: center;
font-size: 40px;
}

 .main-temp-back {
background: var(--purple-gradient);
color: var(--text-light);
font-size: 16px;
font-weight: 300;
text-align: center;
}
 .main-temp-back .text-temp {
font-size: 40px;
}
.back-dash {
    padding:20px;
    font-size:20px;
    font-weight:500;
      -webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
background-color: var(--primary-light);
color: var(--text-light);
}
    .back-dash p {
        padding-top:16px;
        font-size:13px;
        color: var(--text-light);
        line-height:25px;
        text-align:justify;
    }
    .back-footer-green {
    background-color: var(--success-dark);
    border-top: 0px solid var(--text-light);
}
     .back-footer-red {
    background-color: var(--danger-dark);
    border-top: 0px solid var(--text-light);
}
     .color-bottom-txt {
   color: var(--text-primary);
font-size: 16px;
line-height: 30px;
}
     /*CHAT PANEL*/
 .chat-panel .panel-body {
height: 450px;
overflow-y: scroll;
}
 .chat-box {
margin: 0;
padding: 0;
list-style: none;
}
 .chat-box li {
margin-bottom: 15px;
padding-bottom: 5px;
border-bottom: 1px dotted var(--border-color);
}
 .chat-box li.left .chat-body {
margin-left: 90px;
}
 .chat-box li .chat-body p {
margin: 0;
color: var(--text-secondary);
}
.chat-img>img {
    margin-left:20px;
}

/*==============================================
    MENU STYLES
    =============================================*/


.user-image {
    margin: 25px auto;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
max-height:170px;
max-width:170px;
}

.navbar-cls-top .navbar-brand {
	color: var(--text-light);
background: var(--nav-brand);
width: 260px;
text-align: center;
height: 60px;
font-size: 30px;
font-weight: 700;
}
.active-menu,
.sidebar-collapse .nav > li > a.active-menu {
    background-color: #3a4490!important;
    color: var(--text-light)!important;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.active-menu::before,
.sidebar-collapse .nav > li > a.active-menu::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #ffffff;
}

.active-menu:hover,
.sidebar-collapse .nav > li > a.active-menu:hover,
.sidebar-collapse .nav > li > a.active-menu:focus {
    background-color: #3a4490!important;
    color: var(--text-light)!important;
}

.arrow {
    float: right;
}

.fa.arrow:before {
    content: "\f104";
}

.active > a > .fa.arrow:before {
    content: "\f107";
}


.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-left: 37px;
}

.nav-third-level li a {
    padding-left: 55px;
}
.sidebar-collapse , .sidebar-collapse .nav{
	background:none;
}
.sidebar-collapse .nav {
	padding:0;
}
.sidebar-collapse .nav > li > a {
	color: var(--text-light);
	background: var(--nav-brand);
	text-shadow:none;

}
.sidebar-collapse > .nav > li > a {
	padding:15px 10px;
}
.sidebar-collapse > .nav > li {
	border-bottom: 1px solid var(--shadow-color);
}
.sidebar-collapse .nav > li > a:hover,
.sidebar-collapse .nav > li > a:focus {
	background: #3a4490;
	color: var(--text-light);
	outline:0;
}

.nav-second-level > li > a:before ,
.nav-third-level > li > a:before {
	content:"";
	display:block;
	position:absolute;
	left:20px;
	width:15px;
	height:1px;
	background: var(--nav-accent);
	top:20px;
}
.nav-second-level > li > a:after,
.nav-third-level > li > a:after {
	content:"";
	display:block;
	position:absolute;
	left:20px;
	width:1px;
	height:100%;
	background: var(--nav-accent);
	top:0px;
	z-index:10;
}
.nav-second-level  > li:last-child > a:after,
.nav-third-level  > li:last-child > a:after {
	height:50%;
}
.nav-third-level > li > a:after,
.nav-third-level > li > a:before  {
	left:40px;
}
.navbar-side {
	border:none;
	/* background set by ASZ SIDEBAR section below (brand purple) */
}
.navbar-cls-top {
	background: var(--nav-brand);
	border-bottom:none;

}
.navbar-cls-top .navbar-brand:hover {

background: var(--nav-brand);
color: var(--text-light);

}

.navbar-default {
border:0px solid black;

}
.navbar-header {
    background: var(--nav-toggle);
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: var(--nav-toggle-hover);
}
.navbar-default .navbar-toggle {
border-color: var(--text-light);
}

.navbar-default .navbar-toggle .icon-bar {
background-color: var(--text-light);
}
.nav > li > a > i {
    margin-right:10px;
}
/*==============================================
    UI ELEMENTS STYLES
    =============================================*/
.btn-circle {
width: 50px;
height: 50px;
padding: 6px 0;
 -webkit-border-radius: 25px;
-moz-border-radius: 25px;
border-radius: 25px;
text-align: center;
font-size: 12px;
line-height: 1.428571429;
}

/*==============================================
    MEDIA QUERIES
    =============================================*/

 @media(min-width:768px) {
     #page-wrapper{
               margin: 0 0 0 260px;
        padding: 15px 30px;
        min-height: 1200px;

    }


    .navbar-side {
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        overflow-y: auto;
    }

   .navbar {
 border-radius: 0px;
}

}

/* Navigation Header Styles */
.nav-header {
    padding: 8px 15px 5px 15px !important;
    background: var(--nav-sidebar-bg) !important;
    border-bottom: 1px solid var(--nav-sidebar-border) !important;
    margin: 5px 0 0 0 !important;
}

.nav-header small {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.nav-header:hover {
    background: var(--nav-sidebar-bg) !important;
    cursor: default !important;
}

.nav-header:hover small {
    color: var(--text-muted) !important;
}

/* Navigation spacing improvements */
#main-menu li a {
    padding: 12px 15px !important;
    border-bottom: 1px solid var(--nav-border-light) !important;
}

#main-menu li:first-child {
    border-bottom: 2px solid var(--nav-sidebar-border) !important;
    margin-bottom: 10px !important;
}


/*==============================================
    AUTHENTICATION PAGES STYLES (Bootstrap-based)
    =============================================*/

/* Auth Body Background */
.auth-body {
    background: var(--auth-bg-image) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    font-family: "Open Sans", sans-serif;
}

/* Auth Card Customizations */
.auth-card {
    background: var(--auth-form-bg);
    border: none;
    box-shadow: 0 4px 12px var(--auth-form-shadow);
    border-radius: 8px;
}

.auth-card .card-body {
    padding: 2rem;
}

/* Logo Styling */
.auth-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

/* Title Styling */
.auth-title {
    color: var(--auth-text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--auth-border-light);
}

/* Subtitle for reset page */
.auth-subtitle {
    color: var(--auth-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Form Control Customizations */
.auth-form .form-control {
    border: 1px solid var(--auth-input-border);
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-form .form-control:focus {
    border-color: var(--auth-input-focus);
    box-shadow: 0 0 0 0.2rem rgba(0, 169, 80, 0.25);
}

/* Button Customizations */
.btn-primary {
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
    color: #fff;
}

.btn-primary:hover {
    background-color: #434da0;
    border-color: #434da0;
    color: #fff;
}

.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary,
.open > .dropdown-toggle.btn-primary:hover,
.open > .dropdown-toggle.btn-primary:focus {
    background-color: #3b4490;
    border-color: #3b4490;
    color: #fff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(78, 89, 176, 0.35);
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-auth-primary {
    background-color: var(--auth-button-bg);
    border-color: var(--auth-button-bg);
    color: var(--text-light);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease-in-out;
}

.btn-auth-primary:hover,
.btn-auth-primary:focus {
    background-color: var(--auth-button-hover);
    border-color: var(--auth-button-hover);
    color: var(--text-light);
}

/* Link Styling */
.auth-link {
    color: var(--auth-link-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-link:hover {
    color: var(--auth-button-hover);
    text-decoration: underline;
}

/* Spinner Animation */
.btn-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Customizations */
.alert-auth {
    border-radius: 0.375rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Security Note */
.security-note {
    background-color: var(--form-bg-light);
    color: var(--auth-text-secondary);
    border: 1px solid var(--auth-border-light);
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.85rem;
}

/* Password Requirements */
.password-requirements {
    background-color: var(--form-bg-light);
    color: var(--auth-text-muted);
    border: 1px solid var(--auth-border-light);
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.85rem;
}

/* User Info */
.user-info {
    background-color: var(--form-bg-info);
    color: var(--message-info-text);
    border: 1px solid var(--form-border-info);
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    display: block;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 45px !important;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 18px;
    z-index: 100;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.password-toggle:hover {
    color: var(--auth-text-primary);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card .card-body {
        padding: 1.5rem 1rem;
    }

    .auth-logo {
        max-width: 200px;
    }

    .auth-title {
        font-size: 1.1rem;
    }
}

/*==============================================
    SWITCH VIEW PAGE STYLES
    =============================================*/

/* Switch View Body */
.switch-view-body {
    background: var(--switch-view-bg-color);
    background-image: var(--switch-view-bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Optional overlay for better text readability */
.switch-view-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--switch-view-bg-overlay);
    z-index: 0;
}

.switch-view-body .switch-container {
    position: relative;
    z-index: 1;
}

/* Switch Container */
.switch-container {
    background: var(--switch-container-bg);
    border-radius: 10px;
    box-shadow: 0 15px 35px var(--switch-container-shadow);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 20px;
}

.switch-title {
    color: var(--switch-title-color);
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 10px;
}

.switch-subtitle {
    color: var(--switch-subtitle-color);
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* Switch Options */
.switch-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.switch-option {
    background: var(--switch-option-bg);
    border: 2px solid var(--switch-option-border);
    border-radius: 10px;
    padding: 30px 25px;
    text-decoration: none;
    color: var(--switch-option-text);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    min-height: 100px;
}

.switch-option:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--switch-option-shadow-hover);
}

.switch-option i {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
    width: 70px;
    height: 70px;
    line-height: 75px;
    margin: 0 auto 15px auto;
    border-radius: 50px;
    text-align: center;
}

.switch-option h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 8px;
}

.switch-option p {
    font-size: 0.95em;
    margin: 0;
    opacity: 0.8;
}

/* Admin Option */
.admin-option {
    background: var(--switch-option-bg);
    border-color: var(--switch-admin-border);
}

.admin-option i {
    background-color: var(--switch-admin-icon-bg);
    color: var(--text-light);
}

.admin-option:hover {
    background: var(--switch-admin-bg);
    border-color: var(--switch-admin-border);
    color: var(--text-light);
}

.admin-option:hover i {
    background-color: var(--switch-icon-hover-bg);
}

/* Employee Option */
.employee-option {
    background: var(--switch-option-bg);
    border-color: var(--switch-employee-border);
}

.employee-option i {
    background-color: var(--switch-employee-icon-bg);
    color: var(--text-light);
}

.employee-option:hover {
    background: var(--switch-employee-bg);
    border-color: var(--switch-employee-border);
    color: var(--text-light);
}

.employee-option:hover i {
    background-color: var(--switch-icon-hover-bg);
}

/* Responsive for Switch View */
@media (max-width: 768px) {
    .switch-options {
        flex-direction: column;
    }


    .switch-option {
        min-width: 100%;
        max-width: 100%;
    }

    .switch-title {
        font-size: 1.5em;
    }

    .switch-subtitle {
        font-size: 0.95em;
    }
}

/*==============================================
    FORUM & COMMUNITY STYLES
    =============================================*/

/* Category Cards */
.forum-category-card {
    border: 1px solid var(--border-color, #ddd);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
    background-color: var(--bg-white, #fff);
}

.forum-category-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.forum-category-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color, #5cb85c);
    margin-bottom: 10px;
    text-decoration: none;
}

.forum-category-title:hover {
    color: var(--primary-dark, #00a950);
    text-decoration: none;
}

.forum-category-meta {
    color: var(--text-muted, #999);
    font-size: 13px;
}

/* Topic List */
.forum-topic-row {
    border-bottom: 1px solid var(--border-color, #eee);
    padding: 15px 0;
}

.forum-topic-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color, #333);
    text-decoration: none;
}

.forum-topic-title:hover {
    color: var(--primary-color, #5cb85c);
    text-decoration: underline;
}

.forum-topic-meta {
    color: var(--text-muted, #999);
    font-size: 12px;
    margin-top: 5px;
}

/* Posts */
.forum-post {
    border: 1px solid var(--border-color, #ddd);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: var(--bg-white, #fff);
}

.forum-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.forum-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color, #5cb85c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.forum-post-content {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-primary, #333);
}

.forum-post-actions {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #eee);
}

.forum-like-btn {
    cursor: pointer;
    color: var(--text-muted, #999);
    transition: color 0.2s;
    text-decoration: none;
}

.forum-like-btn:hover {
    color: var(--primary-color, #5cb85c);
    text-decoration: none;
}

.forum-like-btn.liked {
    color: var(--danger-color, #d9534f);
    font-weight: bold;
}

/* Reply Form */
.forum-reply-form {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-gray-light, #f9f9f9);
    border-radius: 4px;
}

/* Stats Badges */
.forum-stat-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.forum-stat-badge.topics {
    background-color: var(--info-color, #5bc0de);
    color: white;
}

.forum-stat-badge.posts {
    background-color: var(--success-color, #5cb85c);
    color: white;
}

.forum-stat-badge.views {
    background-color: var(--warning-color, #f0ad4e);
    color: white;
}

/* Flagged/Deleted Posts */
.forum-post.flagged {
    border-left: 4px solid var(--warning-color, #f0ad4e);
}

.forum-post.deleted {
    opacity: 0.5;
    border-left: 4px solid var(--danger-color, #d9534f);
}

/* Responsive */
@media (max-width: 768px) {
    .forum-post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .forum-post-actions {
        flex-wrap: wrap;
    }

    .forum-category-card {
        padding: 15px;
    }
}

/* =============================================
   VIDEO LIBRARY STYLES
   ============================================= */

/* Video Player Container */
.video-player-container {
    background-color: #000;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* Video Player */
.video-player {
    max-width: 100%;
    max-height: 480px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.video-player:focus {
    outline: none;
}

/* Video Thumbnail in Table */
.video-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color, #ddd);
}

/* Video Info Panel */
.video-info-panel {
    background-color: var(--bg-panel, #F8F8F8);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Table without borders for info display */
.table-borderless td,
.table-borderless th {
    border: none;
    padding: 8px;
}

.table-borderless tbody tr:hover {
    background-color: transparent;
}

/* Responsive Video */
@media (max-width: 768px) {
    .video-player {
        width: 100%;
        height: auto;
    }

    .video-thumbnail {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .video-player-container {
        padding: 0;
    }
}

/* ========================================
   Events Management Styles
   ======================================== */

/* Event Banner Images */
.event-banner-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.event-banner-full {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Event Cards */
.event-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 4px 8px var(--shadow-color);
}

.event-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card-body {
    padding: 15px;
}

/* Capacity Badges */
.capacity-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.capacity-available {
    background-color: var(--success-color);
    color: white;
}

.capacity-limited {
    background-color: var(--warning-color);
    color: white;
}

.capacity-full {
    background-color: var(--danger-color);
    color: white;
}

/* Event Status Badges */
.event-status-draft {
    color: var(--text-muted);
    font-weight: bold;
}

.event-status-published {
    color: var(--success-color);
    font-weight: bold;
}

.event-status-ongoing {
    color: var(--info-color);
    font-weight: bold;
}

.event-status-completed {
    color: var(--text-secondary);
    font-weight: bold;
}

.event-status-cancelled {
    color: var(--danger-color);
    font-weight: bold;
}

/* Event Price Display */
.event-price {
    font-size: 1.5em;
    color: var(--primary-dark);
    font-weight: bold;
}

/* Ticket Display */
.ticket-container {
    border: 2px dashed var(--border-color);
    padding: 30px;
    text-align: center;
    background-color: var(--bg-white);
    border-radius: 8px;
}

.ticket-qr {
    max-width: 200px;
    margin: 20px auto;
    display: block;
}

/* Event Info Blocks */
.event-info-block {
    padding: 15px;
    margin-bottom: 15px;
    background-color: var(--bg-panel);
    border-left: 4px solid var(--primary-dark);
    border-radius: 4px;
}

.event-info-block i {
    color: var(--primary-dark);
    margin-right: 10px;
}

/* Event Chart Styles */
.chart-panel {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.panel-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.chart-container {
    position: relative;
    width: 100%;
}

/* Event Registration Process Steps */
.registration-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.registration-steps li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.registration-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

/* Payment Proof Upload */
.payment-proof-preview {
    max-width: 100%;
    max-height: 400px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .event-banner-full {
        max-height: 200px;
    }

    .ticket-container {
        padding: 20px 10px;
    }

    .event-price {
        font-size: 1.2em;
    }
}

/* Event Table Custom Styles */
#eventsTable tbody tr:hover {
    background-color: var(--bg-gray-light);
}

/* Label Sizes */
.label-lg {
    font-size: 14px;
    padding: 8px 12px;
}

/* ========================================
   SUBSCRIPTION & BILLING SYSTEM STYLES
   ======================================== */

/* Subscription Status Panels */
.subscription-panel-active {
    border-left: 4px solid var(--subscription-active-border);
    background-color: var(--subscription-active-bg);
}

.subscription-panel-pending {
    border-left: 4px solid var(--subscription-pending-border);
    background-color: var(--subscription-pending-bg);
}

.subscription-panel-expired {
    border-left: 4px solid var(--subscription-expired-border);
    background-color: var(--subscription-expired-bg);
}

/* Subscription Card Styling */
.subscription-card {
    box-shadow: var(--subscription-panel-shadow);
    border-radius: 4px;
    margin-bottom: 20px;
}

.subscription-card .panel-heading {
    font-weight: bold;
}

/* Badge Styling for Subscription Status */
.badge-danger {
    background-color: var(--danger-color);
}

.badge-warning {
    background-color: var(--warning-color);
}

.badge-success {
    background-color: var(--success-color);
}

/* Payment Proof Image Preview */
.payment-proof-preview {
    max-width: 100%;
    max-height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* Subscription Status Badges */
.subscription-status-badge {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* Payment Method Icons */
.payment-method-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* Subscription Info Cards */
.subscription-info-card {
    background-color: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.subscription-info-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.subscription-info-card h4 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Receipt and Invoice Links */
.document-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--success-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.document-link:hover {
    background-color: var(--success-dark);
    color: white;
    text-decoration: none;
}

.document-link i {
    margin-right: 5px;
}

/* Subscription Timeline */
.subscription-timeline {
    position: relative;
    padding-left: 30px;
}

.subscription-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.subscription-timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.subscription-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid white;
}

/* Payment Verification Queue */
.payment-queue-item {
    border-left: 3px solid var(--warning-color);
    padding-left: 15px;
    margin-bottom: 15px;
}

.payment-queue-item.verified {
    border-left-color: var(--success-color);
}

.payment-queue-item.rejected {
    border-left-color: var(--danger-color);
}

/* Subscription Stats Cards */
.subscription-stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 6px;
    background-color: var(--bg-white);
    box-shadow: var(--subscription-panel-shadow);
}

.subscription-stat-card h1 {
    font-size: 2.5em;
    margin: 10px 0;
    font-weight: bold;
}

.subscription-stat-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Plan Selection Cards */
.plan-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.plan-card.selected {
    border-color: var(--success-color);
    background-color: var(--subscription-active-bg);
}

.plan-card .plan-name {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.plan-card .plan-amount {
    font-size: 2em;
    font-weight: bold;
    color: var(--success-color);
    margin: 15px 0;
}

/* Responsive Subscription Tables */
@media (max-width: 768px) {
    .subscription-info-card {
        padding: 15px;
    }

    .subscription-stat-card h1 {
        font-size: 2em;
    }
}

/* =================================================================
   CPD COURSE MANAGEMENT SYSTEM STYLES
   ================================================================= */

/* Course Format Badges */
:root {
    --color-blue: #3498db;
    --color-blue-light: #ebf5fb;
    --color-green: #27ae60;
    --color-green-light: #e8f8f5;
    --color-brown: #a04000;
    --color-brown-light: #fef5e7;
    --color-red: #c0392b;
}

.course-format-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.format-in-person {
    background-color: var(--color-blue-light);
    color: var(--color-blue);
}

.format-virtual {
    background-color: var(--color-green-light);
    color: var(--color-green);
}

.format-hybrid {
    background-color: var(--color-brown-light);
    color: var(--color-brown);
}

/* Course Fee Display */
.course-fee-free {
    color: var(--color-green);
    font-weight: bold;
}

.course-fee-paid {
    color: var(--color-red);
    font-weight: bold;
}

/* Check-In Code Display */
.check-in-code-display {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 4px;
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    color: #333;
}

/* Attendance Status Badges */
.attendance-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-registered {
    background-color: #ffc107;
    color: #fff;
}

.status-checked-in {
    background-color: #28a745;
    color: #fff;
}

.status-absent {
    background-color: #dc3545;
    color: #fff;
}

.status-cancelled {
    background-color: #6c757d;
    color: #fff;
}

/* Chart Panels for Analytics */
.chart-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.chart-panel .panel-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.chart-container {
    min-height: 350px;
}

/* Responsive adjustments for course cards */
@media (max-width: 768px) {
    .check-in-code-display {
        font-size: 24px;
        letter-spacing: 2px;
        padding: 15px;
    }

    .course-format-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Course List Table Enhancements */
#coursesTable tbody tr:hover {
    background-color: #f9f9f9;
}

#registrationsTable tbody tr:hover {
    background-color: #f9f9f9;
}

/* Payment Status Indicators */
.payment-status-approved {
    color: #28a745;
    font-weight: bold;
}

.payment-status-pending {
    color: #ffc107;
    font-weight: bold;
}

.payment-status-rejected {
    color: #dc3545;
    font-weight: bold;
}

/* Course Details Panel */
.course-details-panel {
    margin-bottom: 20px;
}

.course-details-panel .table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Verification Page Enhancements */
.verification-panel {
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.verification-panel:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Upload Area Styling */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

/* ==============================================
   AGM SYSTEM STYLES
   ============================================== */

/* AGM Status Badges */
.agm-status-draft {
    background-color: #6c757d;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.agm-status-published {
    background-color: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.agm-status-ongoing {
    background-color: #28a745;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.agm-status-completed {
    background-color: #17a2b8;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.agm-status-cancelled {
    background-color: #dc3545;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.agm-status-open {
    background-color: #28a745;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

/* Motion Type Badges */
.motion-type-ordinary {
    background-color: #e7f3ff;
    color: #0056b3;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.motion-type-special {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.motion-type-constitutional {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

/* Vote Buttons */
.vote-btn-for {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.vote-btn-for:hover {
    background-color: #218838;
    transform: scale(1.05);
    color: #fff;
}

.vote-btn-against {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.vote-btn-against:hover {
    background-color: #c82333;
    transform: scale(1.05);
    color: #fff;
}

.vote-btn-abstain {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.vote-btn-abstain:hover {
    background-color: #5a6268;
    transform: scale(1.05);
    color: #fff;
}

/* Motion Result Panels */
.motion-passed {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.motion-failed {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Quorum Indicators */
.quorum-met {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.quorum-not-met {
    color: #dc3545;
    font-weight: bold;
    font-size: 18px;
}

/* Quorum Progress Bar */
.quorum-progress-bar {
    height: 30px;
    font-size: 14px;
    line-height: 30px;
}

/* Motion Card */
.motion-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.motion-card-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.motion-number {
    font-size: 14px;
    color: #6c757d;
    font-weight: bold;
}

.motion-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

/* Vote Results */
.vote-results {
    margin-top: 15px;
}

.vote-bar {
    height: 40px;
    line-height: 40px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 10px;
    min-width: 100%;
}

.vote-bar-for {
    background-color: #28a745;
}

.vote-bar-against {
    background-color: #dc3545;
}

.vote-bar-abstain {
    background-color: #6c757d;
}

/* Member Vote Highlight */
.my-vote {
    border: 3px solid #ffc107;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff8e1;
}

/* ============================================================
   ASZ SIDEBAR — mockup-aligned restyle
   (moved from inline <style> block in aside.php)
   ============================================================ */
.navbar-side,
nav.navbar-side,
.navbar-default.navbar-side {
    background-color: var(--brand-purple) !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.navbar-side .sidebar-collapse {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

.sidebar-collapse,
.sidebar-collapse .nav,
.navbar-side .sidebar-collapse,
.navbar-side .sidebar-collapse .nav {
    background: var(--brand-purple) !important;
}

.sidebar-collapse .nav > li > a {
    color: #ffffff;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 7px 16px !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.sidebar-collapse .nav > li > a:hover,
.sidebar-collapse .nav > li > a:focus {
    background: var(--brand-purple-dark);
    color: #ffffff;
    outline: 0;
    padding-left: 20px !important;
}

.sidebar-collapse .nav > li > a > i {
    margin-right: 10px;
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.sidebar-collapse .nav > li > a > i.fa-2x {
    font-size: 13px;
}

/* Active main-menu item: green block, white text/icon (per mockup) */
.active-menu,
.sidebar-collapse .nav > li > a.active-menu {
    background-color: var(--nav-active-green) !important;
    color: #ffffff !important;
    position: relative;
    box-shadow: none;
    font-weight: 600 !important;
}

.active-menu::before,
.sidebar-collapse .nav > li > a.active-menu::before {
    display: none !important;
}

.active-menu > i,
.sidebar-collapse .nav > li > a.active-menu > i {
    color: #ffffff !important;
}

.active-menu:hover,
.sidebar-collapse .nav > li > a.active-menu:hover,
.sidebar-collapse .nav > li > a.active-menu:focus {
    background-color: var(--nav-active-green-dark) !important;
    color: #ffffff !important;
}

/* Logo strip at top of sidebar — white panel */
.sidebar-collapse .nav > li:first-child {
    background: #ffffff;
    padding: 8px 15px !important;
    margin: 0 !important;
    border-bottom: none !important;
}

.sidebar-collapse .nav > li:first-child:hover {
    background: #ffffff;
}

.sidebar-collapse .nav > li:first-child img.user-image {
    margin: 0 auto;
    border-radius: 0;
    max-height: 36px;
    max-width: 100%;
    width: auto;
}

#main-menu li:first-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

/* Sidebar dropdown (toggle parents) — moved from aside.php */
.nav-dropdown {
    list-style: none;
}

.nav-dropdown > a {
    cursor: pointer;
    position: relative;
    display: block;
    transition: all 0.3s ease;
}

.nav-dropdown > a .arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 16px;
    font-weight: bold;
}

.nav-dropdown.open > a .arrow {
    transform: translateY(-50%) rotate(90deg);
}

.nav-dropdown .submenu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    padding-left: 0;
    background-color: var(--brand-purple-dark);
    transition: max-height 0.4s ease-in-out;
}

.nav-dropdown.open .submenu {
    max-height: 1000px;
}

.nav-dropdown .submenu li {
    transition: all 0.3s ease;
}

.nav-dropdown .submenu li a {
    padding: 6px 15px 6px 46px;
    font-size: 11px;
    display: block;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.85;
    font-family: var(--font-body);
    font-weight: 400;
}

.nav-dropdown .submenu li a::before,
.nav-dropdown .submenu li a::after {
    display: none !important;
}

.nav-dropdown .submenu li a:hover {
    background-color: var(--brand-purple);
    color: #ffffff;
    padding-left: 56px;
    opacity: 1;
}

.nav-dropdown .submenu li a.active-menu {
    background-color: var(--nav-active-green) !important;
    color: #ffffff !important;
    opacity: 1;
    border-left: 3px solid var(--nav-active-green-dark);
}

.nav-dropdown .submenu li a.active-menu i {
    color: #ffffff !important;
}

.nav-dropdown .submenu li a i {
    margin-right: 10px;
    font-size: 14px;
    width: 18px;
    text-align: center;
}

@keyframes asz-sidebar-slide-in {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.nav-dropdown.open .submenu li {
    animation: asz-sidebar-slide-in 0.3s ease-out forwards;
    opacity: 0;
}

.nav-dropdown.open .submenu li:nth-child(1) { animation-delay: 0.05s; }
.nav-dropdown.open .submenu li:nth-child(2) { animation-delay: 0.10s; }
.nav-dropdown.open .submenu li:nth-child(3) { animation-delay: 0.15s; }
.nav-dropdown.open .submenu li:nth-child(4) { animation-delay: 0.20s; }
.nav-dropdown.open .submenu li:nth-child(5) { animation-delay: 0.25s; }
.nav-dropdown.open .submenu li:nth-child(6) { animation-delay: 0.30s; }
.nav-dropdown.open .submenu li:nth-child(7) { animation-delay: 0.35s; }
.nav-dropdown.open .submenu li:nth-child(8) { animation-delay: 0.40s; }

/* ============================================================
   ASZ HEADER — mockup-aligned restyle
   ============================================================ */
.asz-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaecf3;
    margin-bottom: 0;
    min-height: 65px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 5;
}

.asz-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 28px;
    min-height: 65px;
}

.asz-header-toggle {
    background: transparent;
    border: none;
    color: var(--brand-purple);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.asz-header-toggle:hover {
    background: rgba(78, 89, 176, 0.08);
}

.asz-header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.asz-header-search input {
    width: 100%;
    height: 40px;
    padding: 8px 16px 8px 42px;
    border: 1px solid #e2e6ee;
    border-radius: 22px;
    background: #f7f8fb;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.asz-header-search input:focus {
    border-color: var(--brand-purple);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(78, 89, 176, 0.12);
}

.asz-header-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8d97a8;
    font-size: 14px;
    pointer-events: none;
}

.asz-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.asz-header-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f7f8fb;
    color: var(--brand-purple);
    text-decoration: none;
    transition: background 0.2s ease;
}

.asz-header-bell:hover,
.asz-header-bell:focus {
    background: rgba(78, 89, 176, 0.12);
    color: var(--brand-purple);
    text-decoration: none;
}

.asz-header-bell i {
    font-size: 16px;
}

.asz-header-bell-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e3342f;
    color: #ffffff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    border: 2px solid #ffffff;
    font-family: var(--font-heading);
}

.asz-header-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.asz-header-user-greeting {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-secondary);
}

.asz-header-user-greeting strong {
    color: var(--text-primary);
    font-weight: 500;
}

.asz-header-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: #f7f8fb;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.asz-header-user-pill:hover {
    background: rgba(78, 89, 176, 0.12);
}

.asz-header-user-pill i {
    color: var(--brand-purple);
    font-size: 12px;
}

.asz-header-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-purple);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.asz-header-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #eaecf3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.asz-header-user-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.asz-header-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.15s ease;
}

.asz-header-user-menu a:hover {
    background: #f7f8fb;
    color: var(--brand-purple);
}

.asz-header-user-menu a i {
    width: 16px;
    color: var(--brand-purple);
}

/* ── Notification bell dropdown ───────────────────────────────────── */
.asz-header-notif {
    position: relative;
    display: inline-flex;
}

.asz-header-notif-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid #eaecf3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    overflow: hidden;
}

.asz-header-notif-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.asz-header-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f5;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.asz-header-notif-head a {
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-purple);
    text-decoration: none;
}

.asz-header-notif-head a:hover {
    text-decoration: underline;
}

.asz-header-notif-list {
    max-height: 360px;
    overflow-y: auto;
}

.asz-header-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f8;
    text-decoration: none;
    transition: background 0.15s ease;
}

.asz-header-notif-item:hover {
    background: #f7f8fb;
    text-decoration: none;
}

.asz-header-notif-item.is-unread {
    background: rgba(78, 89, 176, 0.05);
}

.asz-header-notif-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: transparent;
}

.asz-header-notif-item.is-unread .asz-header-notif-dot {
    background: var(--brand-purple);
}

.asz-header-notif-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.asz-header-notif-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.asz-header-notif-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.asz-header-notif-time {
    font-size: 11px;
    color: #9aa0b3;
    margin-top: 2px;
}

.asz-header-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    color: #9aa0b3;
    font-size: 13px;
}

.asz-header-notif-empty i {
    font-size: 22px;
}

.asz-header-notif-foot {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-top: 1px solid #eef0f5;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-purple);
    text-decoration: none;
}

.asz-header-notif-foot:hover {
    background: #f7f8fb;
    color: var(--brand-purple);
    text-decoration: none;
}

/* ── Notifications page (notification-list.php) ───────────────────── */
.asz-notif-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.asz-notif-page-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8px;
    border-bottom: 1px solid #f0f1f5;
}

.asz-notif-page-item:last-child {
    border-bottom: none;
}

.asz-notif-page-item.is-unread {
    background: rgba(78, 89, 176, 0.05);
}

.asz-notif-page-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(78, 89, 176, 0.12);
    color: var(--brand-purple);
    font-size: 15px;
}

.asz-notif-page-content {
    flex: 1 1 auto;
    min-width: 0;
}

.asz-notif-page-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.asz-notif-page-new {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--brand-purple);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.asz-notif-page-text {
    margin-top: 3px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.asz-notif-page-time {
    margin-top: 5px;
    font-size: 12px;
    color: #9aa0b3;
}

.asz-notif-page-open {
    flex: 0 0 auto;
    align-self: center;
}

.asz-notif-page-empty {
    text-align: center;
    padding: 40px 16px;
    color: #9aa0b3;
}

.asz-notif-page-empty i {
    font-size: 34px;
    margin-bottom: 10px;
}

/* Header sits to the right of the fixed sidebar on desktop */
@media (min-width: 768px) {
    .asz-header {
        margin-left: 260px;
    }
}

/* Mobile: shrink search area, hide greeting (toggle already visible) */
@media (max-width: 991px) {
    .asz-header-search { max-width: none; }
    .asz-header-user-greeting { display: none; }
}

@media (max-width: 575px) {
    .asz-header-search { display: none; }
}

/* ============================================================
   ASZ STAT CARD — vertical layout per mockup screenshots 617/618
   icon-circle + 3-dots menu (top row), label, big number,
   full-width sparkline, "% change" caption
   ============================================================ */
.asz-stat-card {
    display: flex;
    flex-direction: column;
    padding: 18px 20px 16px;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.asz-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.asz-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.asz-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
}

.asz-stat-menu {
    background: transparent;
    border: none;
    color: #b5bbcb;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 4px;
    line-height: 1;
}

.asz-stat-menu:hover,
.asz-stat-menu:focus {
    background: #f3f5fa;
    color: var(--brand-purple);
    outline: none;
}

.asz-stat-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.2px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.asz-stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.asz-stat-trend {
    width: 100%;
    height: 28px;
    color: var(--brand-green);
    display: block;
    margin-bottom: 6px;
}

.asz-stat-change {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--brand-green);
    font-weight: 500;
}

.asz-stat-change-muted {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Stat card icon color variants (semantic name → brand color) */
.asz-stat-blue  .asz-stat-icon { background: var(--brand-purple); }
.asz-stat-green .asz-stat-icon { background: var(--brand-green); }
.asz-stat-red   .asz-stat-icon { background: var(--brand-teal); }
.asz-stat-brown .asz-stat-icon { background: var(--brand-lime); color: var(--brand-purple-dark); }

@media (max-width: 575px) {
    .asz-stat-card { padding: 14px 16px 12px; }
    .asz-stat-icon { width: 36px; height: 36px; font-size: 14px; }
    .asz-stat-value { font-size: 22px; }
}

/* ============================================================
   ASZ DASHBOARD PAGE — mockup-aligned layout
   ============================================================ */
#page-inner.asz-dashboard-inner {
    background: #f5f6fa !important;
    margin: 0 !important;
    padding: 24px !important;
    min-height: calc(100vh - 65px);
}

.asz-dashboard-inner .breadcrumb {
    background: transparent;
    padding: 0 0 12px 0;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    list-style: none;
}

.asz-dashboard-inner .breadcrumb > li {
    display: inline-block;
}

.asz-dashboard-inner .breadcrumb > li + li::before {
    content: "/";
    padding: 0 8px;
    color: var(--text-secondary);
}

.asz-dashboard-inner .breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.asz-dashboard-inner .breadcrumb a:hover { color: var(--brand-purple); }

.asz-dashboard-inner .breadcrumb .active { color: var(--text-primary); font-weight: 500; }

.asz-title-row {
    align-items: center;
    margin-bottom: 18px;
}

.asz-page-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 22px 10px 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.asz-page-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-green);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.asz-page-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    padding-top: 0;
}

.asz-date-range,
.asz-date-range-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    background: #ffffff;
    border: 1px solid #eaecf3;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.asz-date-range i,
.asz-date-range-icon {
    color: var(--brand-purple);
    font-size: 14px;
}

.asz-date-input {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    padding: 4px 4px;
    min-width: 0;
    width: 120px;
}

.asz-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.55;
}

.asz-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.asz-date-sep {
    color: var(--text-secondary);
    font-size: 13px;
}

.asz-date-submit {
    background: var(--brand-purple);
    color: #ffffff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    font-size: 11px;
}

.asz-date-submit:hover,
.asz-date-submit:focus {
    background: var(--brand-purple-dark);
    outline: none;
}

/* Equal-height row for chart panels — uses min-height on the panel
   instead of flex (the flex approach conflicted with Bootstrap floats
   and caused bottom rows to not render reliably). */
.asz-equal-row > [class*="col-"] {
    margin-bottom: 24px;
}

.asz-dashboard-inner .chart-panel,
.asz-equal-row .chart-panel {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    min-height: 380px;
    margin-bottom: 0;
}

.asz-dashboard-inner .chart-panel .panel-title,
.asz-equal-row .chart-panel .panel-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-primary);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

/* Dashboard chart containers must hug their ECharts div, not inherit the
   legacy global `.chart-container { min-height: 350px }` (course pages),
   which left the canvas floating and broke row height alignment. */
.asz-dashboard-inner .chart-container,
.asz-equal-row .chart-container {
    min-height: 0;
    overflow: hidden;
}

/* Recently added members panel */
.asz-recent-panel {
    display: flex;
    flex-direction: column;
}

.asz-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.asz-recent-link {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--brand-purple);
    text-decoration: none;
    font-weight: 500;
}

.asz-recent-link:hover { color: var(--brand-purple-dark); text-decoration: none; }

.asz-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.asz-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f8;
}

.asz-recent-item:last-child { border-bottom: none; }

.asz-recent-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-purple);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.asz-recent-info { flex: 1; min-width: 0; }

.asz-recent-name {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asz-recent-meta {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-secondary);
}

.asz-recent-empty {
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
}

/* Quick actions panel */
.asz-quick-actions-panel { display: flex; flex-direction: column; }

.asz-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    flex: 1;
    align-content: start;
}

.asz-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 12px;
    border-radius: 10px;
    background: #f7f8fb;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.asz-quick-action:hover,
.asz-quick-action:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    background: #ffffff;
    text-decoration: none;
    color: var(--text-primary);
}

.asz-quick-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
}

.asz-quick-action-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.asz-quick-action-purple .asz-quick-action-icon { background: var(--brand-purple); }
.asz-quick-action-green  .asz-quick-action-icon { background: var(--brand-green); }
.asz-quick-action-teal   .asz-quick-action-icon { background: var(--brand-teal); }
.asz-quick-action-lime   .asz-quick-action-icon { background: var(--brand-lime); color: var(--brand-purple-dark); }

@media (max-width: 991px) {
    .asz-equal-row > [class*="col-"] > .chart-panel {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    #page-inner.asz-dashboard-inner { padding: 16px !important; }
    .asz-title-row { margin-bottom: 12px; }
    .asz-page-title { padding: 8px 18px; }
    .asz-page-title span { font-size: 16px; }
    .asz-date-range { font-size: 12px; padding: 7px 12px; }
    .asz-equal-row > [class*="col-"] > .chart-panel { min-height: 0; }
}

/* ============================================================
   ASZ ACTIONS DROPDOWN — consolidated Actions column button
   Used in list/index tables that have 3+ row actions
   ============================================================ */
.asz-actions-dropdown .dropdown-toggle.btn {
    background: var(--brand-purple);
    color: #ffffff;
    border: none;
    padding: 4px 12px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.asz-actions-dropdown .dropdown-toggle.btn:hover,
.asz-actions-dropdown .dropdown-toggle.btn:focus,
.asz-actions-dropdown.open .dropdown-toggle.btn {
    background: var(--brand-purple-dark);
    color: #ffffff;
    outline: none;
}

.asz-actions-dropdown .dropdown-toggle.btn i {
    font-size: 11px;
}

.asz-actions-dropdown .dropdown-toggle.btn .caret {
    margin-left: 4px;
}

.asz-actions-dropdown .dropdown-menu {
    border: 1px solid #eaecf3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    min-width: 170px;
    margin-top: 4px;
}

.asz-actions-dropdown .dropdown-menu > li > a {
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: transparent;
}

.asz-actions-dropdown .dropdown-menu > li > a:hover,
.asz-actions-dropdown .dropdown-menu > li > a:focus {
    background: #f7f8fb;
    color: var(--brand-purple);
}

.asz-actions-dropdown .dropdown-menu > li > a i {
    width: 14px;
    color: var(--brand-purple);
    text-align: center;
}

.asz-actions-dropdown .dropdown-menu > li > a.text-danger,
.asz-actions-dropdown .dropdown-menu > li > a.text-danger i {
    color: #c0392b;
}

.asz-actions-dropdown .dropdown-menu > li > a.text-danger:hover,
.asz-actions-dropdown .dropdown-menu > li > a.text-danger:hover i {
    background: #fdecea;
    color: #b91c1c;
}

.asz-actions-dropdown .dropdown-menu > .divider {
    margin: 4px 0;
    background-color: #eef0f5;
}

/* ============================================================
   ASZ SIDEBAR — collapsed-by-default (hamburger mode)
   Sidebar starts as 70px icon-only; toggle expands to 260px.
   The expanded state is signaled by body.asz-sidebar-expanded
   (set by assets/js/asz-sidebar.js, persisted in localStorage).
   ============================================================ */
@media (min-width: 768px) {
    /* Default = collapsed (icon-only) */
    .navbar-side {
        width: 70px !important;
        transition: width 0.25s ease;
    }

    #page-wrapper {
        margin: 0 0 0 70px !important;
        transition: margin-left 0.25s ease;
    }

    .asz-header {
        margin-left: 70px !important;
        transition: margin-left 0.25s ease;
    }

    /* Hide text labels and dropdown arrows when collapsed */
    .sidebar-collapse .nav > li > a {
        padding: 14px 0 !important;
        text-align: center;
        font-size: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        letter-spacing: 0 !important;
    }

    .sidebar-collapse .nav > li > a > i {
        font-size: 18px !important;
        margin-right: 0 !important;
        width: auto;
    }

    .nav-dropdown > a .arrow {
        display: none !important;
    }

    .nav-dropdown .submenu,
    .nav-dropdown.open .submenu {
        display: none !important;
        max-height: 0 !important;
    }

    /* Logo strip: shrink in collapsed state */
    .sidebar-collapse .nav > li:first-child {
        padding: 14px 8px !important;
    }
    .sidebar-collapse .nav > li:first-child img.user-image {
        max-height: 40px;
    }

    /* ============= EXPANDED STATE ============= */
    body.asz-sidebar-expanded .navbar-side {
        width: 260px !important;
    }

    body.asz-sidebar-expanded #page-wrapper {
        margin: 0 0 0 260px !important;
    }

    body.asz-sidebar-expanded .asz-header {
        margin-left: 260px !important;
    }

    body.asz-sidebar-expanded .sidebar-collapse .nav > li > a {
        padding: 14px 20px !important;
        text-align: left;
        font-size: 14px !important;
        letter-spacing: 0.3px !important;
    }

    body.asz-sidebar-expanded .sidebar-collapse .nav > li > a > i {
        margin-right: 12px !important;
    }

    body.asz-sidebar-expanded .nav-dropdown > a .arrow {
        display: block !important;
    }

    body.asz-sidebar-expanded .nav-dropdown .submenu {
        display: block !important;
        max-height: 0 !important;
    }

    body.asz-sidebar-expanded .nav-dropdown.open .submenu {
        max-height: 1000px !important;
    }

    body.asz-sidebar-expanded .sidebar-collapse .nav > li:first-child {
        padding: 18px 15px !important;
    }
    body.asz-sidebar-expanded .sidebar-collapse .nav > li:first-child img.user-image {
        max-height: 60px;
    }
}

/* On mobile, sidebar uses its own existing behavior (Bootstrap toggle) */

/* ============================================================
   ASZ SIDEBAR USER PILL (bottom of aside)
   ============================================================ */
.asz-sidebar-footer {
    flex-shrink: 0;
    padding: 9px 12px;
    background: var(--brand-purple-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asz-sidebar-user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.asz-sidebar-user-pill:hover,
.asz-sidebar-user-pill:focus {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

.asz-sidebar-user-avatar {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-lime);
    color: var(--brand-purple-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.asz-sidebar-user-info {
    min-width: 0;
    flex: 1;
}

.asz-sidebar-user-name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asz-sidebar-user-role {
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

/* Collapsed mode (default): hide name/role, center avatar */
@media (min-width: 768px) {
    body:not(.asz-sidebar-expanded) .asz-sidebar-footer {
        padding: 14px 8px;
    }
    body:not(.asz-sidebar-expanded) .asz-sidebar-user-pill {
        justify-content: center;
    }
    body:not(.asz-sidebar-expanded) .asz-sidebar-user-info {
        display: none;
    }
}

/* ============================================================
   ASZ FOOTER — copyright + Privacy/Terms/Help links
   ============================================================ */
.asz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 4px;
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid #eaecf3;
}

.asz-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.asz-footer a:hover {
    color: var(--brand-purple);
}

.asz-footer-sep {
    margin: 0 8px;
    color: #cbd0db;
}

@media (max-width: 575px) {
    .asz-footer {
        flex-direction: column;
        text-align: center;
        font-size: 11px;
    }
}

/* ============================================================
   ASZ MEMBER DASHBOARD — mockup-aligned member home
   ============================================================ */
.asz-welcome {
    margin-bottom: 20px;
}

.asz-welcome-title {
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary);
}

.asz-welcome-sub {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Summary cards --- */
.asz-mcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 168px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.asz-mcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.asz-mcard-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.asz-mcard-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
}

.asz-mcard-icon-purple { background: var(--brand-purple); }
.asz-mcard-icon-green  { background: var(--brand-green); }
.asz-mcard-icon-teal   { background: var(--brand-teal); }
.asz-mcard-icon-blue   { background: var(--brand-purple-light); }

.asz-mcard-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.asz-mcard-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.asz-mcard-value-status { font-size: 22px; }
.asz-status-active   { color: var(--brand-green); }
.asz-status-inactive { color: var(--warning-color); }

.asz-mcard-sub {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.asz-mcard-link {
    margin-top: auto;
    padding-top: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.asz-mcard-link:hover,
.asz-mcard-link:focus {
    color: var(--brand-purple-dark);
    text-decoration: none;
}

.asz-mcard-link i { font-size: 11px; }

/* Universal focus handling: suppress the default black outline ring that
   appears when links/buttons are clicked, while keeping an accessible ring
   for keyboard users. Applies site-wide.

   NOTE: we DON'T use ":focus:not(:focus-visible)" — in browsers that lack
   :focus-visible support that selector is invalid and dropped entirely, so
   the black outline returns. Instead we clear the outline on plain :focus /
   :active (valid everywhere), then re-add a ring on :focus-visible afterwards
   (progressive enhancement: keyboard users get the ring on supporting
   browsers; older browsers simply show none). */
a:focus,
a:active,
button:focus,
button:active,
.btn:focus,
.btn:active,
.btn:active:focus,
.btn.active:focus,
.asz-mcard-link:focus,
.asz-mcard-link:active,
[role="button"]:focus,
[tabindex]:focus {
    outline: none;
    box-shadow: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.asz-mcard-link:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

/* CPD donut card */
.asz-cpd-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asz-cpd-donut {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.asz-cpd-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.asz-cpd-hours {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* --- List panels shared bits reuse .chart-panel / .asz-recent-* --- */

/* Upcoming events list */
.asz-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f8;
    text-decoration: none;
}

.asz-event-item:last-child { border-bottom: none; }
.asz-event-item:hover { text-decoration: none; }
.asz-event-item:hover .asz-event-title { color: var(--brand-purple); }

.asz-event-date {
    flex: 0 0 48px;
    width: 48px;
    padding: 6px 0;
    border-radius: 8px;
    background: #f3f4fb;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.asz-event-month {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--brand-purple);
}

.asz-event-day {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.asz-event-info { flex: 1; min-width: 0; }

.asz-event-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.asz-event-meta {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-secondary);
}

.asz-tag {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 12px;
    background: #eef0fb;
    color: var(--brand-purple);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
}

/* Latest news list */
.asz-news-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f8;
    text-decoration: none;
}

.asz-news-item:last-child { border-bottom: none; }
.asz-news-item:hover { text-decoration: none; }
.asz-news-item:hover .asz-news-title { color: var(--brand-purple); }

.asz-news-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.asz-news-meta {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-secondary);
}

/* Promo card */
.asz-promo-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    margin-bottom: 0;
    padding: 26px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.asz-promo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 12px;
}

.asz-promo-text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    max-width: 80%;
    margin-bottom: 20px;
}

.asz-promo-btn {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.asz-promo-btn:hover,
.asz-promo-btn:focus {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    text-decoration: none;
}

.asz-promo-art {
    position: absolute;
    right: -10px;
    bottom: -14px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
}

/* Recent resources list */
.asz-res-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f8;
    text-decoration: none;
}

.asz-res-item:last-child { border-bottom: none; }
.asz-res-item:hover { text-decoration: none; }
.asz-res-item:hover .asz-res-title { color: var(--brand-purple); }

.asz-res-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fdecea;
    color: var(--danger-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.asz-res-info { flex: 1; min-width: 0; }

.asz-res-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asz-res-meta {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-secondary);
}

/* Community discussions list */
.asz-disc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f8;
    text-decoration: none;
}

.asz-disc-item:last-child { border-bottom: none; }
.asz-disc-item:hover { text-decoration: none; }
.asz-disc-item:hover .asz-disc-title { color: var(--brand-purple); }

.asz-disc-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-purple-light);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.asz-disc-info { flex: 1; min-width: 0; }

.asz-disc-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asz-disc-meta {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-secondary);
}

.asz-disc-replies {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.asz-disc-replies i { color: var(--brand-purple); margin-right: 2px; }

/* Quick links */
.asz-quicklinks {
    display: flex;
    flex-direction: column;
}

.asz-quicklink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f3f8;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
}

.asz-quicklink:last-child { border-bottom: none; }
.asz-quicklink:hover,
.asz-quicklink:focus { color: var(--brand-purple); text-decoration: none; }

.asz-quicklink-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4fb;
    color: var(--brand-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* --- Sidebar "Member Since" + promo cards --- */
.asz-sidebar-cards {
    padding: 8px 12px 4px;
}

.asz-sidebar-since {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 7px;
}

.asz-sidebar-since-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-lime);
    color: var(--brand-purple-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.asz-sidebar-since-info { display: flex; flex-direction: column; min-width: 0; }

.asz-sidebar-since-label {
    font-family: var(--font-body);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.65);
}

.asz-sidebar-since-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    color: #ffffff;
}

.asz-sidebar-promo {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 9px;
    background: var(--brand-purple-dark);
}

.asz-sidebar-promo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 4px;
}

.asz-sidebar-promo-text {
    font-family: var(--font-body);
    font-size: 10px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 9px;
}

.asz-sidebar-promo-btn {
    align-self: stretch;
    text-align: center;
    padding: 6px 12px;
    border-radius: 7px;
    background: #ffffff;
    color: var(--brand-purple-dark);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.asz-sidebar-promo-btn:hover,
.asz-sidebar-promo-btn:focus {
    opacity: 0.9;
    color: var(--brand-purple-dark);
    text-decoration: none;
}

/* Hide sidebar cards in collapsed mode (default) — matches user-pill behaviour */
@media (min-width: 768px) {
    body:not(.asz-sidebar-expanded) .asz-sidebar-cards {
        display: none;
    }
}

/* --- Empty / support panels (donate.php, help.php) --- */
.asz-empty-panel {
    text-align: center;
    padding: 40px 30px;
}

.asz-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f3f4fb;
    color: var(--brand-purple);
    font-size: 26px;
    margin-bottom: 16px;
}

.asz-empty-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.asz-empty-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto 20px;
}

.asz-support-card {
    text-align: center;
    padding: 28px 20px;
}

.asz-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-purple);
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 14px;
}

.asz-support-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.asz-support-link {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--brand-purple);
    text-decoration: none;
}

.asz-support-link:hover { color: var(--brand-purple-dark); }

/* ============================================================
   ASZ DASHBOARD — compact scale (mockup density), applied
   universally to every dashboard-shell page (admin + member +
   donate + help) via the shared .asz-dashboard-inner class.
   ============================================================ */
#page-inner.asz-dashboard-inner { padding: 14px !important; }

.asz-dashboard-inner .asz-welcome { margin-bottom: 12px; }
.asz-dashboard-inner .asz-welcome-title { font-size: 17px; }
.asz-dashboard-inner .asz-welcome-sub { font-size: 11px; }

.asz-dashboard-inner .asz-mcard { padding: 11px 13px; min-height: 126px; }
.asz-dashboard-inner .asz-mcard-head { gap: 7px; margin-bottom: 6px; }
.asz-dashboard-inner .asz-mcard-icon { flex-basis: 27px; width: 27px; height: 27px; border-radius: 7px; font-size: 11px; }
.asz-dashboard-inner .asz-mcard-title { font-size: 10.5px; }
.asz-dashboard-inner .asz-mcard-value { font-size: 19px; }
.asz-dashboard-inner .asz-mcard-value-status { font-size: 14px; }
.asz-dashboard-inner .asz-mcard-sub { font-size: 10px; }
.asz-dashboard-inner .asz-mcard-link { font-size: 10.5px; padding-top: 8px; }
.asz-dashboard-inner .asz-mcard-link i { font-size: 9px; }

.asz-dashboard-inner .asz-cpd-body { gap: 9px; }
.asz-dashboard-inner .asz-cpd-donut { flex-basis: 46px; width: 46px; height: 46px; }
.asz-dashboard-inner .asz-cpd-hours { font-size: 11px; }

.asz-dashboard-inner .chart-panel { padding: 13px; min-height: 288px; }
.asz-dashboard-inner .chart-panel .panel-title { font-size: 10.5px; margin-bottom: 10px; }
.asz-dashboard-inner .asz-recent-link { font-size: 10.5px; }

.asz-dashboard-inner .asz-event-item,
.asz-dashboard-inner .asz-news-item,
.asz-dashboard-inner .asz-res-item,
.asz-dashboard-inner .asz-disc-item { padding: 8px 0; }

.asz-dashboard-inner .asz-event-title,
.asz-dashboard-inner .asz-news-title,
.asz-dashboard-inner .asz-res-title,
.asz-dashboard-inner .asz-disc-title { font-size: 11.5px; }

.asz-dashboard-inner .asz-event-meta,
.asz-dashboard-inner .asz-news-meta,
.asz-dashboard-inner .asz-res-meta,
.asz-dashboard-inner .asz-disc-meta { font-size: 10px; }

.asz-dashboard-inner .asz-event-date { flex-basis: 38px; width: 38px; padding: 4px 0; }
.asz-dashboard-inner .asz-event-day { font-size: 14px; }
.asz-dashboard-inner .asz-event-month { font-size: 8.5px; }
.asz-dashboard-inner .asz-tag { font-size: 8.5px; padding: 2px 7px; }

.asz-dashboard-inner .asz-res-icon,
.asz-dashboard-inner .asz-disc-avatar { flex-basis: 27px; width: 27px; height: 27px; font-size: 11px; }
.asz-dashboard-inner .asz-disc-replies { font-size: 10px; }

.asz-dashboard-inner .asz-quicklink { font-size: 11.5px; padding: 8px 0; }
.asz-dashboard-inner .asz-quicklink-icon { flex-basis: 26px; width: 26px; height: 26px; font-size: 11px; }

.asz-dashboard-inner .asz-promo-card { padding: 16px; min-height: 288px; }
.asz-dashboard-inner .asz-promo-title { font-size: 16px; margin-bottom: 8px; }
.asz-dashboard-inner .asz-promo-text { font-size: 11px; margin-bottom: 12px; }
.asz-dashboard-inner .asz-promo-btn { font-size: 11px; padding: 7px 12px; }
.asz-dashboard-inner .asz-promo-art { font-size: 84px; }

/* ============================================================
   ASZ PROFILE PHOTO — avatar images (header + sidebar) and the
   account-settings upload panel. Applied universally.
   ============================================================ */
.asz-header-user-avatar,
.asz-sidebar-user-avatar,
.asz-photo-preview {
    overflow: hidden;
}

.asz-header-user-avatar img,
.asz-sidebar-user-avatar img,
.asz-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.asz-photo-settings {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.asz-photo-preview {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--brand-purple);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.asz-photo-initial {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 34px;
    text-transform: uppercase;
}

.asz-photo-controls {
    flex: 1;
    min-width: 240px;
}

.asz-photo-form .form-group {
    margin-bottom: 12px;
}

/* ============================================================
   ASZ PASSWORD TOGGLE — styles for assets/js/asz-password-toggle.js
   Self-contained block: copy this together with the JS file to reuse
   the eye show/hide toggle in another page or project.
   ============================================================ */
.asz-pw-wrap {
    position: relative;
    display: block;
}

.asz-pw-wrap > .form-control {
    padding-right: 40px;
}

.asz-pw-toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.asz-pw-toggle:hover,
.asz-pw-toggle:focus {
    color: var(--brand-purple);
    outline: none;
}

.asz-pw-toggle svg {
    display: block;
}

/* ── Membership pending / approval holding page ───────────────────── */
.asz-pending-icon {
    width: 88px;
    height: 88px;
    margin: 8px auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--brand-purple);
    background-color: rgba(78, 89, 176, 0.12);
}

.asz-pending-icon-rejected {
    color: #b94a48;
    background-color: rgba(185, 74, 72, 0.12);
}

.asz-pending-title {
    color: var(--brand-purple-dark);
    font-weight: 700;
    margin-bottom: 14px;
}

.asz-pending-text {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Keep an inline POST form (e.g. Approve button) on the same line as sibling buttons */
.asz-inline-form {
    display: inline-block;
    margin: 0;
}
