/* Color Variables */
:root {
    /* Base Colors */
    --color-white: #ffffff;
    --color-black: #000000;

    /* Gray Scale - Using very light grays */
    --color-gray-50: #fafafa;
    --color-gray-100: #f7f7f7;
    --color-gray-200: #f0f0f0;
    --color-gray-300: #e8e8e8;
    --color-gray-400: #dedede;
    --color-gray-500: #c8c8c8;
    --color-gray-600: #a3a3a3;
    --color-gray-700: #737373;
    --color-gray-800: #525252;
    --color-gray-900: #404040;

    /* Semantic Colors */
    --text-primary: var(--color-gray-900);
    --text-secondary: var(--color-gray-700);
    --text-light: var(--color-gray-600);

    /* Background Colors */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--color-gray-50);
    --bg-tertiary: var(--color-gray-100);

    /* Border Colors */
    --border-light: var(--color-gray-200);
    --border-medium: var(--color-gray-300);
    --border-dark: var(--color-gray-400);

    /* Shadow Colors */
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-color-hover: rgba(0, 0, 0, 0.1);

    /* Status Colors - Using muted versions */
     /* Status Colors - Professional & Accessible */
	 --status-success: #2e7d32;      /* Darker forest green */
	 --status-success-light: #4caf50; /* Lighter shade for hover */

	 --status-warning: #ed6c02;      /* Deep orange */
	 --status-warning-light: #ff9800; /* Lighter shade for hover */

	 --status-error: #d32f2f;        /* Rich red */
	 --status-error-light: #ef5350;   /* Lighter shade for hover */

	 --status-info: #0288d1;         /* Deep blue */
	 --status-info-light: #03a9f4;    /* Lighter shade for hover */

	 /* Text colors for contrast */
	 --status-text-light: #ffffff;    /* For dark backgrounds */
	 --status-text-dark: #333333;     /* For light backgrounds */

    /* Component Colors */
    --nav-bg: var(--color-gray-800);
    --nav-text: var(--color-white);
    --nav-hover: var(--color-gray-700);

    --card-bg: var(--color-white);
    --card-border: var(--border-light);
    --card-shadow: var(--shadow-color);

    --header-bg: var(--color-gray-800);
    --header-text: var(--color-white);

    /* Remove all previous color variables that used specific colors */
    --primary: var(--color-gray-800);
    --secondary: var(--color-gray-700);
    --accent: var(--color-gray-600);
    --warning: var(--status-warning);
    --success: var(--status-success);
    --neutral: var(--color-gray-600);

    /* Update semantic assignments */
    --nav-primary: var(--nav-bg);
    --nav-active: var(--nav-hover);
    --profile-header: var(--header-bg);
    --profile-text: var(--text-primary);
    --profile-label: var(--text-secondary);
    --profile-border: var(--border-light);
    --card-header: var(--header-bg);
}

/* Logout link */
.wlsm-logged-in-info {
    text-align: right;
    margin-bottom: .5em;
}
/* Navigation links */
.wlsm-container .wlsm-navigation-links {
    margin: 0;
    padding: 0 0 16px 0;
    list-style: none;
    width: 100%;
    height: auto;
    position: static;
    max-height: none;
    overflow: visible;
}
.wlsm-no-record-found {
    margin-top: 1em;
    margin-bottom: 1em;
}
.wlsm-container .wlsm-navigation-links li {
    margin: 0 0 .5em 0;
    padding: 0;
    list-style: none;
    display: block;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.wlsm-navigation-links li a {
    padding: .6em 1em;
    font-weight: 600;
    font-size: 1em;
    color: var(--nav-primary);
    text-decoration: none;
    background-color: var(--color-white);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.wlsm-navigation-links li a:hover,
.wlsm-navigation-links li a:focus,
.wlsm-navigation-links li a.active {
    color: var(--color-white);
    background-color: var(--nav-primary);
    border-color: var(--nav-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}
.wlsm-container {
    box-sizing: border-box;
    width: 100%;
}
.wlsm-container .wlsm-content-area {
    box-sizing: border-box;
    min-height: 600px;
    width: 100%;
    padding: 1.35em;
    border: none;
    color: #111;
    background: var(--color-white);
    height: 100%;
    box-shadow: none;
}
.wlsm-st-main-title {
    /* text-align: left; */
    font-size: 1.4em;
    padding-bottom: .2em;
    margin-bottom: .8em;
    border-bottom: 1px solid #ddd;
}
.wlsm-container .wlsm-st-details-heading {
    font-size: 1.22em;
    font-weight: 600;
    padding-bottom: .2em;
    border-bottom: 1px solid #ddd;
    margin-bottom: .7em;
    text-align: left;
}
.wlsm-container .wlsm-st-details-list {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 1.0em;
    text-align: left;
}
.wlsm-container .wlsm-st-details-list li {
    padding: .35em 0;
    border-bottom: 1px solid #ddd;
}
.wlsm-st-details-list-key {
    font-weight: 600;
    color: var(--profile-label);
}
.wlst-st-list {
    padding: 0;
    margin: 0;
    list-style: disc inside;
    font-size: 1.05em;
}
.wlst-st-list li {
    padding: .35em 0;
    border-bottom: 1px solid #ddd;
}
.wlst-st-list li > span {
    margin-left: -5px;
}
.wlsm-st-attendance-section ul.wlsm-st-attendance-stats {
    list-style-type: none;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}
.wlsm-st-attendance-section ul.wlsm-st-attendance-stats li {
    font-size: 18px;
}
.wlsm-flex-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.wlsm-flex-item {
    margin-bottom: 1em;
}
.wlsm-st-attendance-table {
    width: 100%;
}
.wlsm-container .dashicons, .wlsm-container .dashicons-before:before {
    vertical-align: middle;
}
.wlsm-container .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wlsm-container .wlsm-parent-student-section,
.wlsm-container .wlsm-st-details {
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
    padding: 12px 45px 20px;
    border-bottom: 1px solid #dedede;
}
@media ( max-width: 768px ) {
    .wlsm-container .wlsm-st-details {
        /* padding: 0; */
        margin-bottom: 1.5rem;
    }
    .wlsm-container .wlsm-parent-students .wlsm-parent-student-links {
        margin-top: .5rem;
    }
}
.wlsm-container .wlsm-parent-student-section {
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .3);
}
.wlsm-container .wlsm-parent-student-detail,
.wlsm-container .wlsm-parent-student-links {
    display: inline-block;
    float: left;
}
.wlsm-container .wlsm-parent-student-detail {
    width: 60%;
}
.wlsm-container .wlsm-parent-student-entity .wlsm-parent-student-detail {
    display: block;
    width: 100%;
    float: none;
}
.wlsm-container .wlsm-parent-student-links {
    width: 40%;
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-position: outside;
}
.wlsm-container .wlsm-parent-student-links li {
    border-bottom: 1px solid #a5a5a5;
    padding-bottom: .35rem;
}
.wlsm-container .wlsm-parent-student-section::after {
    content: '';
    display: table;
    clear: both;
}
@media screen and (max-width: 768px) {
    .wlsm-container .wlsm-parent-student-detail,
    .wlsm-container .wlsm-parent-student-links {
        display: block;
        width: 100%;
    }
}
/* Menu icon */
.wlsm-container .wlsm-navigation-links {
    z-index: 3;
    clear: both;
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s ease-out;
}
.wlsm-container .wlsm-menu-label {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}
.wlsm-container .wlsm-menu-icon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}
.wlsm-container .wlsm-menu-icon::before,
.wlsm-container .wlsm-menu-icon::after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.wlsm-container .wlsm-menu-icon::before {
    top: 5px;
}
.wlsm-container .wlsm-menu-icon::after {
    top: -5px;
}
.wlsm-container .wlsm-menu-btn {
    display: none !important;
}
.wlsm-container .wlsm-menu-btn:checked ~ .wlsm-navigation-links {
    max-height: initial;
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon {
    background: transparent;
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon:before {
    transform: rotate(-45deg);
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon:after {
    transform: rotate(45deg);
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label:not(.steps) .wlsm-menu-icon:before,
.wlsm-menu-btn:checked ~ .wlsm-menu-label:not(.steps) .wlsm-menu-icon:after {
    top: 0;
}
@media(min-width: 768px) {
    .wlsm-container .wlsm-navigation-links {
        box-sizing: border-box;
        width: 20%;
        float: left;
        padding-right: 8px;
        min-height: 600px;
        height: 100%;
    }
    .wlsm-shortcode-entity .wlsm-content-area {
        width: unset;
        float: none;
    }
    .wlsm-container .wlsm-content-area {
        box-sizing: border-box;
        border-radius: 5px;
        width: 80%;
        float: right;
        min-height: 600px;
        height: 100%;
    }
    .wlsm-container-parent .wlsm-content-area {
        width: 100%;
        float: none;
    }
    .wlsm-container .wlsm-navigation-links::after,
    .wlsm-container .wlsm-content-area::after {
        display: table;
        content: '';
        clear: both;
    }
    .wlsm-container .wlsm-navigation-links {
        clear: none;
        max-height: none;
    }
    .wlsm-container .wlsm-menu-label {
        display: none;
    }
}
@media(min-width: 600px) {
    .wlsm-l-w-30 {
        width: 30%;
    }
    .wlsm-l-w-48 {
        width: 48%;
    }
    .wlsm-l-w-49 {
        width: 49%;
    }
    .wlsm-l-w-50 {
        width: 50%;
    }
    .wlsm-l-w-70 {
        width: 70%;
    }
}

/* Navigation header */
.wlsm-navigation-header {
    padding: 1em;
    margin-bottom: 1em;
    background-color: var(--nav-primary);
    color: var(--color-white);
    text-align: center;
    border-radius: 4px;
}

.wlsm-navigation-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--color-white);
}

/* Ensure links don't have underlines even in active/hover states */
.wlsm-navigation-links li a:hover,
.wlsm-navigation-links li a:focus,
.wlsm-navigation-links li a:active,
.wlsm-navigation-links li a:visited {
    text-decoration: none !important;
}

/* Student Photo Styles */
.wlsm-student-photo-container {
    text-align: center;
    margin-bottom: 1.5em;
    max-width: 150px; /* Add max-width to container */
    max-height: 150px; /* Add max-height to container */
    margin-left: auto;
    margin-right: auto;
}

.wlsm-student-photo {
    width: 120px;
    height: 120px;
    object-fit: cover; /* Maintains aspect ratio */
    max-width: 100%; /* Ensures image doesn't exceed container */
    max-height: 100%; /* Ensures image doesn't exceed container */
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wlsm-student-photo-default {
    width: 150px;
    height: 150px;
    max-width: 100%; /* Ensures placeholder doesn't exceed container */
    max-height: 100%; /* Ensures placeholder doesn't exceed container */
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #999;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Profile Card Styles */
.wlsm-profile-card {
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 8px var(--card-shadow);
    margin-bottom: 2em;
    min-width: 300px;
    height: fit-content;
    background: var(--color-white);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--card-shadow);
    margin-bottom: 1rem;
}

.wlsm-profile-header {
    padding: 2em;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    background: var(--primary);
    color: var(--color-white);
    border-radius: 9px 9px 0 0;
    padding: 1.5rem;
    text-align: center;
    background: var(--primary);
    border-radius: 9px 9px 0 0;
}

.wlsm-student-name {
    margin: 1rem 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.wlsm-student-meta {
    color: #b4bcc2;
    font-size: 0.9em;
}

.wlsm-profile-body {
    padding: 2rem;
    background: var(--color-white);
    border-radius: 0 0 9px 9px;
    padding: 1.5rem;
}

.wlsm-st-details-list-key {
    font-weight: 600;
    color: var(--profile-label);
}

.wlsm-st-details-list-value {
    color: var(--profile-text);
}

.wlsm-container .wlsm-st-details-list li {
    padding: .75em 0;
    border-bottom: 1px solid var(--profile-border);
}

.wlsm-badge {
    background: rgba(35, 40, 45, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-white);
    border: 1px solid rgba(35, 40, 45, 0.2);
}

/* Update hover state */
.wlsm-profile-card:hover {
    box-shadow: 0 4px 15px var(--shadow-color-hover);
    transition: box-shadow 0.3s ease;
}

/* Stats Cards */
.wlsm-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    margin-bottom: 2em;
}

.wlsm-stats-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.2s ease;
    background: var(--color-white);
    border: 1px solid var(--card-border);
    background: var(--color-white);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 80px;
}

.wlsm-stats-card:hover {
    background: var(--card-bg);
    border-color: var(--accent);
}

.wlsm-stats-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    display: flex;
    margin-right: 1rem;
    color: var(--nav-primary);
    min-width: 40px;
    border-radius: 8px;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    background: var(--card-bg);
}

.wlsm-stats-icon i {
    font-size: 1.5em;
    color: var(--primary);
}

.wlsm-stats-content h4 {
    margin: 0 0 0.5em;
    color: var(--color-gray-600);
    font-size: 0.9em;
    flex: 1;
    min-width: 0;
}

.wlsm-stats-value {
    font-size: 1em;
    font-weight: 600;
    color: var(--nav-primary);
    color: var(--nav-primary);
}

/* Notices Card */
.wlsm-notices-card {
    border-radius: 10px;
    margin-top: 2rem;
    background: var(--color-white);
    border: 1px solid var(--card-border);
}

.wlsm-notices-card .wlsm-card-header {
    padding: 1.5em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.wlsm-notices-card .wlsm-card-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.wlsm-notices-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.wlsm-notice-item {
    padding: 1em;
    border-radius: 8px;
    background: var(--color-gray-100);
    transition: background-color 0.2s ease;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--nav-primary);
    transition: all 0.2s ease;
}

.wlsm-notice-item:hover {
    background: var(--color-white);
    border-left-color: var(--nav-hover);
}

.wlsm-notice-header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wlsm-notice-header h4 {
    margin: 0;
    color: var(--color-gray-900);
    font-size: 1.1rem;
    font-weight: 600;
}

.wlsm-notice-date {
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.wlsm-notice-content {
    color: var(--color-gray-800);
    line-height: 1.5;
}

.wlsm-notice-item a {
    color: var(--color-gray-900);
    text-decoration: none;
}

.wlsm-notice-item a:hover {
    color: var(--color-gray-700);
}

/* No Notices State */
.wlsm-no-notices {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: #7f8c8d;
    padding: 2em;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    border-radius: 8px;
}

.wlsm-no-notices i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gray-500);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wlsm-profile-header {
        padding: 1.5em;
    }

    .wlsm-profile-body {
        padding: 1.5em;
    }

    .wlsm-student-info-section {
        grid-template-columns: 1fr;
    }
}

/* Main Layout */
.wlsm-student-dashboard {
    padding: 2rem;
    background: var(--color-gray-100);
}

.wlsm-section-heading {
    margin: 2rem 0 1.5rem;
}

.wlsm-section-heading h2 {
    font-size: 1.5rem;
    color: var(--nav-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wlsm-section-heading h2 i {
    color: var(--nav-hover);
}

/* Update grid layout */
.wlsm-grid {
    display: grid;
    grid-template-columns: minmax(300px, 2fr) minmax(250px, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
    overflow: hidden;
}

/* Fix stats section layout */
.wlsm-stats-section {
    display: grid;
    gap: 1rem;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-content: start;
    height: fit-content;
}

.wlsm-stats-card {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: 10px;
    background: var(--color-white);
    border: 1px solid var(--card-border);
    width: 100%;
    min-width: 0; /* Prevent flex items from overflowing */
}



.wlsm-stats-content {
    min-width: 0; /* Allow content to shrink */
    overflow: hidden; /* Prevent text overflow */
}

.wlsm-stats-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .wlsm-grid {
        grid-template-columns: 1fr;
    }

    .wlsm-stats-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .wlsm-profile-card {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 576px) {
    .wlsm-stats-section {
        grid-template-columns: 1fr;
    }

    .wlsm-stats-card {
        padding: 1rem;
    }
}

.wlsm-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Card Styles */
.wlsm-card {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeIn 0.3s ease-out;
}

.wlsm-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    /* remove transform */
}

/* Profile Card */
.wlsm-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wlsm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Stats Cards */
.wlsm-stats-section {
    display: grid;
    gap: 1rem;
}

/* Notices Grid */
.wlsm-notices-grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}

.wlsm-notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.wlsm-notice-date {
    font-size: 0.9rem;
    color: #6c757d;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .wlsm-grid {
        grid-template-columns: 1fr;
    }

    .wlsm-student-dashboard {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */

/* Additional Enhancements */
.wlsm-st-recent-notices-section {
    padding: 1rem;
    /* Remove fixed heights */
    min-height: auto;
    max-height: none;
    /* Remove overflow hidden */
    overflow: visible;
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.wlsm-st-notices {
    list-style: none;
    padding: 0;
    margin: 0;
    /* Remove animation and positioning */
    position: static;
    animation: none;
}

.wlsm-st-notices li {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: all 0.2s ease;
}

.wlsm-st-notices li:last-child {
    margin-bottom: 0;
}

.wlsm-st-notices a {
    display: block;
    color: var(--color-gray-900);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.wlsm-st-notice-date {
    display: inline-block;
    margin-left: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.85rem;
}

.wlsm-st-notices p {
    color: var(--color-gray-700);
    margin: 0.5rem 0 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.wlsm-st-notice-new {
    margin-left: 0.5rem;
    vertical-align: middle;
    height: 16px;
}

/* Remove animation keyframes */
@keyframes marquee {
    0%, 100% {
        transform: translateY(0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .wlsm-st-recent-notices-section {
        padding: 0.75rem;
        margin: 0 -0.75rem;
        border: none;
        background: transparent;
    }

    .wlsm-st-notices li {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .wlsm-st-notices a {
        font-size: 0.95rem;
    }

    .wlsm-st-notices p {
        font-size: 0.85rem;
    }
}

.wlsm-st-recent-notices-section {
    padding: 1rem;
}

.wlsm-st-notices {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wlsm-st-notices li {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: var (--card-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.wlsm-st-notice-new {
    margin-left: 0.5rem;
    vertical-align: middle;
}

.wlsm-st-notice-date {
    display: inline-block;
    margin-left: 1rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

/* Hover States */
.wlsm-st-notices li:hover {
    background: var(--primary-light);
    border-left-color: var(--accent);
}

/* Links in Notices */
.wlsm-st-notices a {
    color: var(--color-gray-900);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.wlsm-st-notices a:hover {
    color: var(--color-gray-700);
}

.wlsm-st-notices p {
    color: var(--color-gray-800);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* For any other elements that had transform on hover */
.wlsm-notice-item:hover,
.wlsm-stats-section .wlsm-card:hover,
.wlsm-profile-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    /* remove transform */
}

/* Transportation Card Styles */
.wlsm-transport-card {
    background: var(--color-white);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.wlsm-transport-card .wlsm-st-details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.wlsm-transport-card .wlsm-st-details-list li {
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--card-bg);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wlsm-transport-card .wlsm-st-details-list-key {
    font-size: 0.9rem;
    color: var(--profile-label);
    font-weight: 500;
}

.wlsm-transport-card .wlsm-st-details-list-value {
    font-size: 1.1rem;
    color: var(--nav-primary);
    font-weight: 600;
}

/* Responsive adjustments for transportation card */
@media (max-width: 768px) {
    .wlsm-transport-card {
        padding: 1rem;
    }

    .wlsm-transport-card .wlsm-st-details-list {
        grid-template-columns: 1fr;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .wlsm-grid {
        grid-template-columns: 3fr 2fr;
    }
}

@media (max-width: 768px) {
    .wlsm-grid {
        gap: 1rem;
    }

    .wlsm-stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .wlsm-profile-header,
    .wlsm-profile-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .wlsm-stats-section {
        grid-template-columns: 1fr;
    }

    .wlsm-stats-card {
        padding: 0.875rem;
    }

    .wlsm-student-name {
        font-size: 1.25rem;
    }
}

/* Add these new styles */
.wlsm-stats-card .wlsm-stats-sub {
    font-size: 0.8em;
    color: var(--color-gray-600);
    margin-top: 0.25rem;
}

.wlsm-stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.wlsm-stats-card {
    background: var(--color-white);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px var(--card-shadow);
}

.wlsm-stats-card:hover {
    border-color: var(--nav-primary);
    box-shadow: 0 2px 8px var(--card-shadow);
}



.wlsm-stats-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wlsm-stats-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .wlsm-stats-section {
        grid-template-columns: 1fr;
    }
}

/* Transport Stats Card Styles */
.wlsm-transport-stats {
    grid-column: auto; /* Align width with siblings in grid/flex containers */
}

.wlsm-transport-stats .wlsm-stats-content {
    width: 100%;
}

.wlsm-transport-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--card-border);
}

.wlsm-transport-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.wlsm-transport-info i {
    color: var(--nav-primary);
    font-size: 0.9rem;
}

.wlsm-transport-info small {
    color: var(--color-gray-500);
    margin-left: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wlsm-transport-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ID Card Link Style */
.wlsm-st-print-id-card {
    color: var(--nav-primary);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.wlsm-st-print-id-card:hover {
    color: var(--nav-hover);
}

.wlsm-st-print-id-card i {
    font-size: 1.2rem;
}

/* Stats Card Updated Styles */
.wlsm-stats-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px var(--card-shadow);
    min-height: 120px; /* Ensure consistent height */
}

.wlsm-stats-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}


.wlsm-stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wlsm-stats-content h4 {
    margin: 0;
    color: var(--color-gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.wlsm-stats-value {
    margin-top: 0.25rem;
    font-size: 1em;
    font-weight: 600;
    color: var(--nav-primary);
    line-height: 1.2;
}

/* Transport Stats Specific */
.wlsm-transport-stats .wlsm-transport-details {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--card-border);
}

.wlsm-transport-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding:  0;
    color: var(--color-gray-600);
}

.wlsm-transport-info i {
    width: 20px;
    color: var(--nav-primary);
}

.wlsm-transport-info span {
    font-size: 0.95rem;
}

.wlsm-transport-info small {
    color: var(--color-gray-500);
    margin-left: 0.25rem;
}

/* Fee Stats Styles */
.wlsm-fee-stats {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--card-border);
}

.wlsm-fee-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-gray-900);
    font-size: 0.9rem;
}

.wlsm-stats-sub {
    font-size: 0.9rem;
    color: var(--color-gray-900);
    margin-top: 0.25rem;
}

/* Stats Card Layout Improvements */
.wlsm-stats-card {
    display: flex;
    flex-direction: column;
}



.wlsm-stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.wlsm-fee-breakdown {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--card-border);
}

.wlsm-fee-detail {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	font-size: 0.9rem;
	color: var(--color-gray-700);
}

.wlsm-fee-total {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--card-border);
	font-size: 1rem;
}

.wlsm-fee-paid {
	color: var(--success);
}

.wlsm-fee-remaining {
	color: var(--warning);
	font-weight: 500;
}

.wlsm-stats-value {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--nav-primary);
	margin-bottom: 1rem;
}

/* Profile and Stats Cards Base Styles */
.wlsm-profile-card,
.wlsm-stats-card {
    background: var(--color-white);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 2px 4px var(--card-shadow);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.wlsm-profile-card:hover,
.wlsm-stats-card:hover {
    border-color: var(--nav-primary);
    box-shadow: 0 4px 12px var(--card-shadow);
}

/* Profile Card Specific Styles */
.wlsm-profile-header {
    padding: 1.5rem;
    background: var(--nav-primary);
    border-radius: 9px 9px 0 0;
    text-align: center;
}

.wlsm-student-photo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.wlsm-student-photo,
.wlsm-student-photo-default {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wlsm-student-name {
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.wlsm-student-meta .wlsm-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wlsm-profile-body {
    padding: 1.5rem;
}

/* Stats Card Specific Styles */
.wlsm-stats-card {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.wlsm-stats-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.wlsm-stats-content {
    flex: 1;
}

.wlsm-stats-content h4 {
    margin: 0;
    color: var(--color-gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.wlsm-stats-value {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nav-primary);
}

/* Fee Details in Stats Card */
.wlsm-fee-detail {
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-gray-900);
}

.wlsm-fee-detail:not(:last-child) {
    border-bottom: 1px solid var(--card-border);
}

.wlsm-fee-total {
    font-weight: 600;
    color: var(--nav-primary);
    font-size: 1rem;
}

.wlsm-fee-paid {
    color: var(--success);
}

.wlsm-fee-remaining {
    color: var(--warning);
}

/* Transportation Details in Stats Card */
.wlsm-transport-details {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var (--card-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wlsm-transport-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.wlsm-transport-info i {
    width: 16px;
    color: var (--nav-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wlsm-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wlsm-stats-section {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .wlsm-stats-section {
        grid-template-columns: 1fr;
    }

    .wlsm-profile-header,
    .wlsm-profile-body,
    .wlsm-stats-card {
        padding: 1rem;
    }

    .wlsm-student-name {
        font-size: 1.25rem;
    }
}

/* Attendance Chart Styles */
.wlsm-attendance-chart-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 1rem 0;
}

/* Adjust stats card for attendance */
.wlsm-stats-card.has-chart {
    min-height: 350px;
}

.wlsm-stats-card.has-chart .wlsm-stats-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wlsm-stats-card.has-chart .wlsm-stats-value {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wlsm-attendance-chart-container {
        height: 180px;
    }

    .wlsm-stats-card.has-chart {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .wlsm-attendance-chart-container {
        height: 160px;
    }
}

/* Attendance Stats Styles */
.wlsm-attendance-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem;
    border-top: 1px solid var(--card-border);
}

.wlsm-attendance-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-700);
}

.wlsm-attendance-stat.present i {
    color: var(--success);
}

.wlsm-attendance-stat.absent i {
    color: var(--warning);
}

.wlsm-attendance-stat.late i {
    color: var(--accent);
}

.wlsm-attendance-stat.holiday i {
    color: var(--secondary);
}

/* Add hover effects for stats */
.wlsm-attendance-stat {
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.wlsm-attendance-stat:hover {
    background-color: var(--card-bg);
}

.wlsm-attendance-stat:hover.present {
    background-color: rgba(75, 192, 192, 0.1);
}

.wlsm-attendance-stat:hover.absent {
    background-color: rgba(255, 159, 159, 0.1);
}

.wlsm-attendance-stat:hover.late {
    background-color: rgba(255, 205, 86, 0.1);
}

.wlsm-attendance-stat:hover.holiday {
    background-color: rgba(155, 208, 245, 0.1);
}

.wlsm-attendance-chart-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .wlsm-attendance-stats {
        grid-template-columns: 1fr;
        font-size: 0.85rem;
    }

    .wlsm-attendance-chart-container {
        height: 160px;
    }
}

/* Full Width Notices and Holidays Grid - Minimal & Space Efficient */
.wlsm-full-width-section {
    margin-top: 1.5rem;
    clear: both;
    width: 100%;
}

.wlsm-notices-grid,
.wlsm-holidays-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.wlsm-notice-card {
    background: var(--color-white);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--color-gray-800);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

@media (max-width: 600px) {
    .wlsm-notice-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.wlsm-notice-card:hover {
    background-color: var(--color-gray-50);
    border-left-color: var(--color-black);
}

.wlsm-notice-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 80px;
    margin-bottom: 0;
}

.wlsm-notice-date {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.wlsm-badge-new {
    background-color: var(--status-error);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    font-weight: 500;
    margin-top: 0.25rem;
}

.wlsm-notice-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wlsm-notice-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.15rem 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wlsm-notice-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wlsm-notice-footer {
    margin-top: 0;
    flex-shrink: 0;
}

.wlsm-btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-primary);
    background: var(--color-gray-50);
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.wlsm-btn-read-more:hover {
    background: var(--color-white);
    border-color: var(--color-gray-600);
    color: var(--color-gray-800);
    text-decoration: none;
}

.wlsm-holiday-card {
    background: var(--color-white);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--card-border);
    transition: background-color 0.2s ease;
}

.wlsm-holiday-card:hover {
    background-color: var(--color-gray-50);
}

.wlsm-holiday-icon {
    color: var(--color-gray-600);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.wlsm-holiday-info {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.wlsm-holiday-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wlsm-holiday-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   Student Calendar — Full Page (.wlsm-student-calendar)
   ═══════════════════════════════════════════════ */

/* Toolbar */
.wlsm-student-calendar .wlsm-cal-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light, #e8e8e8);
}

/* Nav group: prev · title · next */
.wlsm-student-calendar .wlsm-cal-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
}
.wlsm-student-calendar .wlsm-cal-title-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary, #404040);
    min-width: 140px;
    text-align: center;
}

/* View switcher */
.wlsm-student-calendar .wlsm-cal-view-switcher {
    display: flex;
    gap: 0.25rem;
}

/* Shared button base */
.wlsm-student-calendar .wlsm-cal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-medium, #e8e8e8);
    border-radius: 5px;
    background: var(--bg-primary, #fff);
    color: var(--text-secondary, #737373);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1;
}
.wlsm-student-calendar .wlsm-cal-btn:hover {
    background: var(--bg-tertiary, #f0f0f0);
    border-color: var(--border-dark, #dedede);
    color: var(--text-primary, #404040);
}
.wlsm-student-calendar .wlsm-cal-btn-icon {
    width: 30px;
    height: 30px;
    padding: 0;
}
.wlsm-student-calendar .wlsm-cal-btn-view {
    padding: 5px 14px;
    height: 30px;
}
.wlsm-student-calendar .wlsm-cal-btn-view.active {
    background: var(--nav-primary, #525252);
    border-color: var(--nav-primary, #525252);
    color: #fff;
}

/* Legend */
/* Shared Legend */
.wlsm-cal-legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 0 !important;
    margin-right: 4px;
    vertical-align: middle;
}
.wlsm-cal-legend-holiday { background: #f1c40f !important; }
.wlsm-cal-legend-event   { background: #007bff !important; }
.wlsm-cal-legend-exam    { background: #6f42c1 !important; }

.wlsm-cal-legend-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary, #737373);
    margin-right: 15px;
    vertical-align: middle;
}

/* Loader */
.wlsm-student-calendar .wlsm-cal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem;
    color: var(--text-light, #a3a3a3);
    font-size: 0.9rem;
}
.wlsm-student-calendar .wlsm-cal-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-medium, #e8e8e8);
    border-top-color: var(--nav-primary, #525252);
    border-radius: 50%;
    animation: wlsm-spin 0.7s linear infinite;
}
@keyframes wlsm-spin { to { transform: rotate(360deg); } }

/* Calendar table */
.wlsm-student-calendar .wlsm-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.wlsm-student-calendar .wlsm-calendar-table thead th {
    padding: 8px 4px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light, #a3a3a3);
    border: none !important;
    border-bottom: 1px solid var(--border-light, #e8e8e8) !important;
    background: transparent;
}
.wlsm-student-calendar .wlsm-calendar-table tbody td {
    vertical-align: top;
    height: 100px !important;
    border: 1px solid var(--border-light, #e8e8e8) !important;
    padding: 6px 5px !important;
    background: var(--bg-primary, #fff);
    transition: background 0.1s;
}
.wlsm-student-calendar .wlsm-calendar-table tbody td:hover {
    background: var(--bg-secondary, #fafafa);
}

/* Today highlight */
.wlsm-today-cell, .wlsm-cal-today {
    background: transparent !important;
}
.wlsm-today-cell .wlsm-day-number, .wlsm-cal-today .wlsm-day-number {
    background: var(--nav-primary, #525252);
    color: #fff !important;
    border-radius: 0 !important;
    width: 26px;
    height: 26px;
    line-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Cell status indicators - Minimal */
.wlsm-cal-has-holiday { border-top: 2px solid #f1c40f !important; }
.wlsm-cal-has-event   { border-top: 2px solid #007bff !important; }
.wlsm-cal-has-exam    { border-top: 2px solid #6f42c1 !important; }

/* If a cell has multiple, prioritize or stack? For now, definition order wins. */


/* Day number */
.wlsm-day-number {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary, #404040);
    margin-bottom: 3px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

/* Shared Pills */
.wlsm-pill, .wlsm-cal-pill {
    display: block;
    border-radius: 0 !important;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
    text-decoration: none !important;
    line-height: 1.2;
    border-left: 3px solid transparent;
}
.wlsm-pill:hover, .wlsm-cal-pill:hover { 
    opacity: 0.8;
}

.wlsm-pill-holiday, .wlsm-cal-pill-holiday { background: #fefce8 !important; color: #854d0e !important; border-left-color: #f1c40f !important; }
.wlsm-pill-event, .wlsm-cal-pill-event     { background: #eff6ff !important; color: #1e40af !important; border-left-color: #007bff !important; }
.wlsm-pill-exam, .wlsm-cal-pill-exam       { background: #faf5ff !important; color: #5b21b6 !important; border-left-color: #6f42c1 !important; }

/* Year view */
.wlsm-student-calendar .wlsm-year-grid-month-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary, #404040);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid var(--border-light, #e8e8e8) !important;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
    cursor: pointer;
}
.wlsm-student-calendar .wlsm-year-grid-month-title:hover {
    color: var(--nav-primary, #525252);
}
.wlsm-student-calendar #wlsm-calendar-grid .row {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0.5rem;
    gap: 0;
}
.wlsm-student-calendar #wlsm-calendar-grid .col-md-4 {
    width: 33.333%;
    box-sizing: border-box;
    padding: 0 1rem 1.5rem;
}
@media (max-width: 700px) {
    .wlsm-student-calendar #wlsm-calendar-grid .col-md-4 { width: 50%; }
}
@media (max-width: 450px) {
    .wlsm-student-calendar #wlsm-calendar-grid .col-md-4 { width: 100%; }
}
.wlsm-student-calendar .wlsm-year-list-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light, #e8e8e8);
}
.wlsm-student-calendar .wlsm-year-list-item:last-child { border-bottom: none; }
.wlsm-student-calendar .wlsm-year-list-item > a {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--text-primary, #404040) !important;
    text-decoration: none !important;
    line-height: 1.3;
    margin-bottom: 0 !important;
}
.wlsm-student-calendar .wlsm-year-list-item > a:hover { color: var(--nav-primary, #525252) !important; }
.wlsm-year-list-item .wlsm-pill {
    display: inline-flex !important;
    margin-bottom: 0;
}

/* Mini day circles */
.wlsm-student-calendar .wlsm-mini-day {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    text-align: center;
    cursor: pointer;
}

@media (max-width: 600px) {
    .wlsm-student-calendar .wlsm-cal-toolbar { gap: 0.5rem; }
    .wlsm-student-calendar .wlsm-cal-legend  { margin-left: 0; }
    .wlsm-student-calendar .wlsm-calendar-table tbody td {
        height: 70px !important;
        padding: 4px 2px !important;
    }
    .wlsm-student-calendar .wlsm-pill { font-size: 0.6rem; padding: 1px 3px; }
}

/* ═══════════════════════════════════════════════
   Dashboard Calendar Widget (.wlsm-dashboard-calendar-widget)
   ═══════════════════════════════════════════════ */

.wlsm-dashboard-calendar-widget {
    background: var(--bg-primary, #fff);
    border-radius: 0 !important;
    border: 1px solid var(--border-light, #e8e8e8);
    overflow: hidden;
    margin-bottom: 2rem;
}
.wlsm-dashboard-calendar-widget .wlsm-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--nav-primary, #525252);
    color: #fff;
}
.wlsm-dashboard-calendar-widget .wlsm-cal-month-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.wlsm-dashboard-calendar-widget .wlsm-cal-legend {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 0.78rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}
/* Dashboard Legend - using shared styles now */

.wlsm-dashboard-calendar-widget .wlsm-cal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.wlsm-dashboard-calendar-widget .wlsm-cal-table thead th {
    text-align: center;
    padding: 8px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light, #a3a3a3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-bottom: 1px solid var(--border-light, #e8e8e8);
    background: var(--bg-primary, #fff);
}
.wlsm-dashboard-calendar-widget .wlsm-cal-day {
    vertical-align: top;
    padding: 6px 5px;
    border: 1px solid var(--border-light, #e8e8e8);
    background: var(--bg-primary, #fff);
    height: 65px;
    position: relative;
    transition: background 0.1s;
}
.wlsm-dashboard-calendar-widget .wlsm-cal-day:hover {
    background: var(--bg-secondary, #fafafa);
}
.wlsm-dashboard-calendar-widget .wlsm-cal-day.wlsm-cal-today {
    background: rgba(0, 123, 255, 0.04);
}
/* Today highlight handled by shared styles */
/* Pills are now using shared styles */

.wlsm-dashboard-calendar-widget .wlsm-cal-footer {
    text-align: right;
    padding: 10px 18px;
    border-top: 1px solid var(--border-light, #e8e8e8);
    background: var(--bg-secondary, #fafafa);
}
.wlsm-btn-view-calendar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-primary, #404040);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}
.wlsm-btn-view-calendar:hover {
    color: var(--nav-primary, #525252);
    text-decoration: none;
}

/* ── Calendar Hover Popover ────────────────────────── */
.wlsm-calendar-popover {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border-radius: 0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12), 0 5px 10px rgba(0,0,0,0.06);
    width: 260px;
    opacity: 0;
    pointer-events: none;
}

.wlsm-calendar-popover.show {
    opacity: 1;
}

.wlsm-pop-header {
    padding: 12px 15px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    border-top: 4px solid transparent;
    border-radius: 0 !important;
}

.wlsm-pop-header.holiday { border-top-color: #f1c40f; }
.wlsm-pop-header.event   { border-top-color: #007bff; }
.wlsm-pop-header.exam    { border-top-color: #6f42c1; }

.wlsm-pop-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 0 !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.wlsm-pop-badge-holiday { background: #fefce8; color: #854d0e; }
.wlsm-pop-badge-event   { background: #eff6ff; color: #1e40af; }
.wlsm-pop-badge-exam    { background: #faf5ff; color: #5b21b6; }

.wlsm-pop-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #2d3748 !important;
}

.wlsm-pop-body {
    padding: 15px;
}

.wlsm-pop-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #4a5568;
}

.wlsm-pop-item i {
    width: 20px;
    color: #a0aec0;
    font-size: 14px;
    margin-right: 8px;
}

.wlsm-pop-divider {
    height: 1px;
    background: #edf2f7;
    margin: 12px 0;
}

.wlsm-pop-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #718096;
    font-style: italic;
    max-height: 100px;
    overflow-y: auto;
}

/* Arrow indicator */
.wlsm-calendar-popover:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.wlsm-calendar-popover.bottom:after {
    bottom: auto;
    top: -6px;
    border-width: 0 6px 6px;
    border-color: transparent transparent #fff;
}

/* Stationary Issued Styles */
.wlsm-student-stationary-issued .wlsm-item-image-small {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.wlsm-student-stationary-issued .wlsm-item-image-placeholder {
	width: 50px;
	height: 50px;
	background: #f8f9fa;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #dee2e6;
	font-size: 1.5rem;
}
.wlsm-student-stationary-issued .wlsm-issued-stationary-table thead th {
	background: #f8f9fa;
	border-top: none;
	color: #495057;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 12px 15px;
	border-bottom: 2px solid #dee2e6;
}
.wlsm-student-stationary-issued .wlsm-issued-stationary-table tbody td {
	vertical-align: middle;
	padding: 15px;
	border-bottom: 1px solid #f1f1f1;
}
.wlsm-student-stationary-issued .wlsm-issued-stationary-table tbody tr:last-child td {
	border-bottom: none;
}
.wlsm-student-stationary-issued .wlsm-st-main-title {
	margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════
   GRID NAVIGATION — replaces vertical list
   ═══════════════════════════════════════════════ */

/* Reset list base for grid nav */
.wlsm-nav-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 6px !important;
	padding: 8px 6px !important;
	margin: 0 !important;
	list-style: none !important;
	width: 100% !important;
	float: none !important;
	background: var(--color-gray-100) !important;
	border-radius: 6px !important;
}

.wlsm-nav-grid li {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	display: block !important;
}

/* The card itself */
.wlsm-nav-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	padding: 10px 4px !important;
	background: var(--color-white) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: 7px !important;
	text-decoration: none !important;
	transition: all 0.18s ease !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
	min-height: 68px !important;
	width: 100% !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}

.wlsm-nav-card-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	background: var(--color-gray-100) !important;
	border-radius: 8px !important;
	transition: all 0.18s ease !important;
	flex-shrink: 0 !important;
}

.wlsm-nav-card-icon i {
	font-size: 0.9rem !important;
	color: var(--nav-primary) !important;
	transition: color 0.18s ease !important;
}

.wlsm-nav-card-label {
	font-size: 0.65rem !important;
	font-weight: 600 !important;
	color: var(--text-secondary) !important;
	text-align: center !important;
	line-height: 1.2 !important;
	letter-spacing: 0.01em !important;
	transition: color 0.18s ease !important;
	word-break: break-word !important;
	hyphens: auto !important;
}

/* Hover */
.wlsm-nav-card:hover {
	border-color: var(--nav-primary) !important;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
	text-decoration: none !important;
	transform: translateY(-1px) !important;
}

.wlsm-nav-card:hover .wlsm-nav-card-icon {
	background: var(--nav-primary) !important;
}

.wlsm-nav-card:hover .wlsm-nav-card-icon i {
	color: var(--color-white) !important;
}

.wlsm-nav-card:hover .wlsm-nav-card-label {
	color: var(--nav-primary) !important;
}

/* Active */
.wlsm-nav-card.active {
	border-color: var(--nav-primary) !important;
	background: var(--nav-primary) !important;
	box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;
	text-decoration: none !important;
}

.wlsm-nav-card.active .wlsm-nav-card-icon {
	background: rgba(255,255,255,0.2) !important;
}

.wlsm-nav-card.active .wlsm-nav-card-icon i {
	color: var(--color-white) !important;
}

.wlsm-nav-card.active .wlsm-nav-card-label {
	color: var(--color-white) !important;
}

/* Desktop: sidebar width needs to be slightly wider for 2-col grid */
@media (min-width: 768px) {
	.wlsm-container .wlsm-navigation-links.wlsm-nav-grid {
		width: 22% !important;
		max-height: none !important;
		overflow: visible !important;
		clear: none !important;
		float: left !important;
		padding-right: 0 !important;
		min-height: 600px !important;
		align-content: start !important;
	}

	.wlsm-container .wlsm-content-area {
		width: 78% !important;
	}
}

/* Mobile: single column toggle behaviour unchanged */
@media (max-width: 767px) {
	.wlsm-nav-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
	}

	.wlsm-container .wlsm-menu-btn:checked ~ .wlsm-nav-grid {
		max-height: 9999px !important;
	}
}

@media (max-width: 480px) {
	.wlsm-nav-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* ══════════════════════════════════════════════════

/* ══════════════════════════════════════════════════
   LMS DASHBOARD REDESIGN  — wlsm-lms-* + wlsm-sb-*
   All sidebar, dashboard, and student page styles
   ══════════════════════════════════════════════════ */

/* ─── Sidebar shell ─── */
.wlsm-container .wlsm-navigation-links.wlsm-sidebar-nav {
	background: linear-gradient(180deg, #1a1f2e 0%, #1e2540 100%) !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	display: flex !important;
	flex-direction: column !important;
	max-height: none !important;
	overflow-y: auto !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
}
.wlsm-sidebar-nav.wlsm-theme-light {
	background: #ffffff !important;
	border-right: 1px solid #f0f0f0 !important;
}

/* ─── Sidebar width ─── */
@media (min-width: 768px) {
	.wlsm-container .wlsm-navigation-links.wlsm-sidebar-nav {
		width: 280px !important;
		float: left !important;
		min-height: 600px !important;
	}
	.wlsm-container .wlsm-content-area.wlsm-lms-dashboard {
		width: calc(100% - 280px) !important;
		float: right !important;
	}
	.wlsm-container .wlsm-content-area:not(.wlsm-lms-dashboard) {
		width: calc(100% - 280px) !important;
		float: right !important;
		box-sizing: border-box !important;
	}
}

/* ─── Student card (top of sidebar) ─── */
.wlsm-sb-user-top {
	padding: 14px 12px 12px;
}
.wlsm-theme-dark .wlsm-sb-user-top { border-bottom: 1px solid rgba(255,255,255,0.06); }
.wlsm-theme-light .wlsm-sb-user-top { border-bottom: 1px solid #f0f0f0; }

.wlsm-sb-student-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 13px;
	border-radius: 10px;
	margin-bottom: 10px;
}
.wlsm-theme-dark .wlsm-sb-student-card  { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }
.wlsm-theme-light .wlsm-sb-student-card { background: #f8f9fa; border: 1px solid #e9ecef; }

.wlsm-sb-avatar {
	width: 40px; height: 40px; border-radius: 50%;
	background: linear-gradient(135deg, #2563eb, #f4672a);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
	border: 2px solid rgba(255,255,255,0.2);
}
.wlsm-sb-user-info  { flex: 1; min-width: 0; }
.wlsm-sb-user-name  { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlsm-theme-dark .wlsm-sb-user-name  { color: #fff; }
.wlsm-theme-light .wlsm-sb-user-name { color: #111; }
.wlsm-sb-user-role  { font-size: 9px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlsm-theme-dark .wlsm-sb-user-role  { color: rgba(255,255,255,0.55); }
.wlsm-theme-light .wlsm-sb-user-role { color: #888; }

/* ─── Dark/Light toggle ─── */
.wlsm-sb-theme-row { display: flex; gap: 4px; margin-top: 2px; }
.wlsm-sb-tbtn {
	flex: 1; padding: 4px 6px; border-radius: 5px;
	font-size: 9.5px; font-weight: 600; cursor: pointer;
	border: none; text-align: center; transition: all 0.15s;
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.wlsm-theme-dark .wlsm-sb-tbtn  { background: rgba(255,255,255,0.1); color: #c9d1d9; border: 1px solid rgba(255,255,255,0.15); }
.wlsm-theme-light .wlsm-sb-tbtn { background: #f0f0f0; color: #888; }
.wlsm-sb-tbtn--on { background: #f0ede6 !important; color: #1a1a2e !important; border-color: #f0ede6 !important; }
.wlsm-sb-tbtn i { font-size: 10px; }

/* ─── Branding row ─── */
.wlsm-sb-branding {
	display: flex; align-items: center; gap: 10px;
	padding: 13px 16px 12px;
}
.wlsm-theme-dark .wlsm-sb-branding  { border-bottom: 1px solid rgba(255,255,255,0.06); }
.wlsm-theme-light .wlsm-sb-branding { border-bottom: 1px solid #f0f0f0; }
.wlsm-sb-logo-mark {
	width: 28px; height: 28px; background: #2563eb;
	border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wlsm-sb-logo-mark i { color: #fff; font-size: 14px; }
.wlsm-sb-logo-name { font-size: 11px; font-weight: 700; }
.wlsm-theme-dark .wlsm-sb-logo-name  { color: #fff; }
.wlsm-theme-dark .wlsm-sb-item-label  { color: #e8edf2 !important; font-weight: 600; }
.wlsm-theme-light .wlsm-sb-logo-name { color: #111; }
.wlsm-sb-logo-sub  { font-size: 9px; }
.wlsm-theme-dark .wlsm-sb-logo-sub  { color: rgba(255,255,255,0.5); }
.wlsm-theme-light .wlsm-sb-logo-sub { color: #aaa; }

/* ─── Student switcher ─── */
.wlsm-sb-student-switch { padding: 8px 10px 0; }
.wlsm-sb-student-switch select {
	width: 100%; background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7);
	border-radius: 6px; padding: 5px 8px; font-size: 11px;
}
.wlsm-theme-light .wlsm-sb-student-switch select {
	background: #f5f5f5; border-color: #e0e0e0; color: #333;
}

/* ─── Nav groups ─── */
.wlsm-sidebar-nav li { border: none !important; margin: 0 !important; }
.wlsm-sidebar-nav { padding-bottom: 16px; }
.wlsm-sb-section {
	font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em;
	font-weight: 700; padding: 14px 16px 5px;
}
.wlsm-theme-dark .wlsm-sb-section  { color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }
.wlsm-theme-light .wlsm-sb-section { color: #94a3b8; }

.wlsm-sb-item {
	display: flex !important; align-items: center !important;
	gap: 10px !important; padding: 9px 10px !important;
	margin: 2px 8px !important; border-radius: 8px !important;
	font-size: 13px !important; font-weight: 500 !important;
	text-decoration: none !important; border: 1px solid transparent !important;
	box-shadow: none !important; transition: background 0.15s, border-color 0.15s, transform 0.1s !important;
	cursor: pointer;
}
.wlsm-theme-dark .wlsm-sb-item:not(.wlsm-sb-item--active)  { color: #e8edf2 !important; background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.07) !important; }
.wlsm-theme-light .wlsm-sb-item:not(.wlsm-sb-item--active) { color: #1e293b !important; font-weight: 600 !important; background: #fff !important; border-color: #e2e8f0 !important; }

.wlsm-sb-item:hover { border-color: rgba(37,99,235,0.15) !important; }
.wlsm-theme-dark .wlsm-sb-item:not(.wlsm-sb-item--active):hover  { background: #f4672a !important; color: #fff !important; border-color: #f4672a !important; transform: translateX(2px); }
.wlsm-theme-dark .wlsm-sb-item:hover .wlsm-sb-icon-wrap i { color: #fff !important; filter: brightness(2); }
.wlsm-theme-dark .wlsm-sb-item:hover .wlsm-sb-icon-wrap { background: rgba(255,255,255,0.2) !important; }
.wlsm-theme-dark .wlsm-sb-item:hover .wlsm-sb-item-label { color: #fff !important; font-weight: 700; }
.wlsm-theme-light .wlsm-sb-item:not(.wlsm-sb-item--active):hover { background: #f4672a !important; border-color: #f4672a !important; transform: translateX(2px); color: #fff !important; }

.wlsm-theme-dark .wlsm-sb-item--active,
.wlsm-theme-dark .wlsm-sb-item--active:hover,
.wlsm-theme-light .wlsm-sb-item--active,
.wlsm-theme-light .wlsm-sb-item--active:hover,
.wlsm-sb-item--active,
.wlsm-sb-item--active:hover { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; border-left: 3px solid #f4672a !important; transform: none !important; box-shadow: 0 2px 12px rgba(37,99,235,0.35) !important; }
.wlsm-sb-item--active .wlsm-sb-item-label,
.wlsm-sb-item--active:hover .wlsm-sb-item-label { color: #fff !important; font-weight: 700 !important; }
.wlsm-sb-item--active .wlsm-sb-icon-wrap i,
.wlsm-sb-item--active:hover .wlsm-sb-icon-wrap i { color: #fff !important; filter: brightness(2); }
.wlsm-theme-light .wlsm-sb-item--active,
.wlsm-theme-light .wlsm-sb-item--active:hover { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; border-left: 3px solid #f4672a !important; box-shadow: 0 2px 12px rgba(37,99,235,0.25) !important; }
.wlsm-theme-light .wlsm-sb-item--active .wlsm-sb-item-label,
.wlsm-theme-light .wlsm-sb-item--active:hover .wlsm-sb-item-label { color: #fff !important; font-weight: 700 !important; }

/* ─── Coloured icon wraps ─── */
.wlsm-sb-icon-wrap {
	width: 32px; height: 32px; border-radius: 8px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	transition: transform 0.15s;
}
.wlsm-sb-icon-wrap i { font-size: 15px; color: var(--icon-color); filter: brightness(1.3); }
.wlsm-theme-light .wlsm-sb-icon-wrap { background: rgba(0,0,0,0.05); }
.wlsm-sb-item:hover .wlsm-sb-icon-wrap { transform: scale(1.07); }
.wlsm-theme-light .wlsm-sb-item:hover .wlsm-sb-icon-wrap { background: rgba(255,255,255,0.25) !important; }
.wlsm-theme-light .wlsm-sb-item:hover .wlsm-sb-item-label { color: #fff !important; }
.wlsm-theme-light .wlsm-sb-item:hover .wlsm-sb-icon-wrap i { color: #f4672a !important; }
.wlsm-sb-item--active .wlsm-sb-icon-wrap { background: rgba(255,255,255,0.2) !important; }
.wlsm-sb-item--active .wlsm-sb-icon-wrap i { color: #fff !important; }
.wlsm-theme-light .wlsm-sb-item--active .wlsm-sb-icon-wrap { background: rgba(255,255,255,0.25) !important; }

/* ─── New item badge + orange left accent ─── */
.wlsm-sb-item--new { position: relative; }
.wlsm-sb-item--new::before {
	content: ''; position: absolute; left: 0; top: 50%;
	transform: translateY(-50%); width: 2px; height: 14px;
	background: #f4672a; border-radius: 0 2px 2px 0;
}
.wlsm-sb-new-badge {
	margin-left: auto; font-size: 8px; font-weight: 700;
	background: #f4672a; color: #fff; padding: 1px 5px; border-radius: 4px; flex-shrink: 0;
}

/* ─── Item label ─── */
.wlsm-sb-item-label {
	font-size: 13px; font-weight: 600; flex: 1; min-width: 0;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	color: inherit;
}
.wlsm-theme-light .wlsm-sb-item-label { color: #1e293b !important; font-weight: 600; }
.wlsm-sb-item--active .wlsm-sb-item-label { color: #fff !important; }

/* ═══════════════════════════════════════
   DASHBOARD PAGE
   ═══════════════════════════════════════ */
.wlsm-lms-dashboard { padding: 0 !important; background: #f0f2f5; }
.wlsm-content-area.wlsm-lms-dashboard { border-radius: 0 12px 12px 0 !important; }

/* Hero */
.wlsm-lms-hero {
	background: linear-gradient(135deg,#0f1623 0%,#1a1f2e 60%,#1e2540 100%);
	padding: 26px 28px 24px;
	display: flex; align-items: stretch; justify-content: space-between;
	gap: 20px; border-radius: 0 12px 0 0;
	min-height: 200px;
}
.wlsm-lms-hero-left { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.wlsm-lms-eyebrow { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.wlsm-lms-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.wlsm-lms-eyebrow span { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }
.wlsm-lms-title { font-size: 21px; font-weight: 700; color: #fff; margin: 0 0 4px; letter-spacing: -0.01em; }
.wlsm-lms-sub { font-size: 11px; color: rgba(255,255,255,0.38); margin: 0 0 16px; }
.wlsm-lms-stats { display: flex; align-items: center; gap: 0; margin-bottom: 18px; flex-wrap: wrap; }
.wlsm-lms-stat-val { font-size: 20px; font-weight: 700; color: #fff; line-height: 1; }
.wlsm-lms-stat-lbl { font-size: 9px; color: rgba(255,255,255,0.38); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }

/* ─── Hero stat divider ─── */
.wlsm-lms-stat { padding: 0 20px; }
.wlsm-lms-stat:first-child { padding-left: 0; }
.wlsm-lms-stat-divider {
	width: 1px; height: 32px; background: rgba(255,255,255,0.12); flex-shrink: 0;
}
.wlsm-lms-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.wlsm-lms-btn {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 8px 16px; border-radius: 8px;
	font-size: 11.5px; font-weight: 600;
	text-decoration: none !important; border: none; cursor: pointer;
}
.wlsm-lms-btn-primary { background: #2563eb; color: #fff !important; }
.wlsm-lms-btn-primary:hover { background: #1d4ed8; color: #fff !important; }
.wlsm-lms-btn-outline { background: #f4672a; color: #fff !important; }
.wlsm-lms-btn-outline:hover { background: #d95a22; color: #fff !important; }

/* Clock */
.wlsm-lms-clock-box {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	padding: 20px 26px;
	text-align: center;
	flex-shrink: 0;
	min-width: 300px;
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.3);
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	position: relative; overflow: hidden; gap: 14px;
}
.wlsm-lms-clock-box::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at top right, rgba(37,99,235,0.15), transparent 60%);
	pointer-events: none;
}
.wlsm-lms-clock-greeting {
	font-size: 9px;
	color: rgba(255,255,255,0.5);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 700;
	margin-bottom: 2px;
	text-align: left;
	display: block;
}
.wlsm-lms-clock-name {
	font-size: 17px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 12px rgba(0,0,0,0.4);
	text-align: left;
	margin: 0;
}
.wlsm-lms-clock-digits {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 0;
}
.wlsm-digit-group {
	display: flex;
	gap: 3px;
}
.wlsm-digit {
	width: 42px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
	border-radius: 9px;
	border: 1px solid rgba(255,255,255,0.18);
	position: relative;
	box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.2);
	transition: transform 0.15s ease;
	letter-spacing: 0;
	text-shadow: 0 0 20px rgba(37,99,235,0.6), 0 2px 8px rgba(0,0,0,0.5);
}
.wlsm-digit::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	top: 50%;
	height: 1px;
	background: rgba(0,0,0,0.3);
	z-index: 1;
}
.wlsm-digit-flip {
	animation: wlsm-flip 0.28s ease;
}
@keyframes wlsm-flip {
	0%  { transform: scaleY(1); }
	40% { transform: scaleY(0.6); opacity: 0.7; }
	100%{ transform: scaleY(1); opacity: 1; }
}
.wlsm-digit-colon {
	font-size: 32px;
	font-weight: 800;
	color: rgba(255,255,255,0.45);
	margin: 0 2px;
	padding-bottom: 4px;
	animation: wlsm-blink 1s step-end infinite;
}
@keyframes wlsm-blink {
	0%,100%{ opacity: 1; }
	50%    { opacity: 0.2; }
}
.wlsm-lms-clock-date {
	font-size: 11px;
	color: rgba(255,255,255,0.55);
	letter-spacing: 0.02em;
	display: inline;
}
.wlsm-lms-clock-period {
	display: inline-block;
	font-size: 9.5px;
	font-weight: 600;
	color: rgba(255,255,255,0.7);
	background: rgba(255,255,255,0.1);
	border-radius: 5px;
	padding: 3px 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(255,255,255,0.12);
}

/* Section bar */
.wlsm-lms-section-bar {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 18px 8px;
}
.wlsm-lms-section-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #111827; }
.wlsm-lms-section-head i { color: #f4672a; font-size: 12px; }
.wlsm-lms-edit-btn {
	font-size: 11px; padding: 4px 11px;
	border: 1px solid #2563eb; border-radius: 5px;
	background: transparent; color: #2563eb; cursor: pointer; font-weight: 600;
	text-decoration: none !important; transition: background 0.12s;
}
.wlsm-lms-edit-btn:hover { background: #eff6ff; color: #2563eb; }

/* Quick access grid */
.wlsm-lms-quick-grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px; padding: 0 18px 4px;
}
.wlsm-lms-qcard {
	display: flex; align-items: center; gap: 9px;
	background: #fff; border: 1.5px solid #d1d5db; border-radius: 10px;
	padding: 13px 12px; text-decoration: none !important;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
	border-left: 3px solid #e5e7eb;
}
.wlsm-lms-qcard:hover { border-color: #2563eb; border-left-color: #f4672a; box-shadow: 0 4px 14px rgba(37,99,235,0.1); transform: translateY(-1px); }
.wlsm-lms-qicon {
	width: 36px; height: 36px; border-radius: 8px;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wlsm-lms-qicon i { font-size: 16px; }
.wlsm-qi-blue   { background: #eff6ff; } .wlsm-qi-blue   i { color: #2563eb; }
.wlsm-qi-green  { background: #f0fdf4; } .wlsm-qi-green  i { color: #16a34a; }
.wlsm-qi-amber  { background: #fffbeb; } .wlsm-qi-amber  i { color: #d97706; }
.wlsm-qi-purple { background: #faf5ff; } .wlsm-qi-purple i { color: #7c3aed; }
.wlsm-qi-teal   { background: #f0fdfa; } .wlsm-qi-teal   i { color: #0d9488; }
.wlsm-qi-coral  { background: #fff7ed; } .wlsm-qi-coral  i { color: #ea580c; }
.wlsm-qi-pink   { background: #fdf2f8; } .wlsm-qi-pink   i { color: #db2777; }
.wlsm-qi-slate  { background: #f1f5f9; } .wlsm-qi-slate  i { color: #475569; }
.wlsm-qi-orange { background: #fff3e8; } .wlsm-qi-orange i { color: #f4672a; }
.wlsm-qi-red    { background: #fef2f2; } .wlsm-qi-red    i { color: #ef4444; }
.wlsm-lms-qtitle { font-size: 13px; font-weight: 700; color: #111827; margin-bottom: 2px; }
.wlsm-lms-qsub  { font-size: 11.5px; color: #6b7280; }

/* QA editor */
.wlsm-lms-qa-editor {
	margin: 6px 18px 4px; background: #f9fafb;
	border: 1px solid #e5e7eb; border-radius: 10px; padding: 13px 15px;
}
.wlsm-lms-qa-editor-title { font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 11px; }
.wlsm-lms-qa-all-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.wlsm-lms-qa-item {
	display: flex; align-items: center; gap: 7px;
	padding: 7px 9px; border-radius: 6px;
	border: 1px solid #e5e7eb; background: #fff;
	cursor: pointer; font-size: 11px; color: #374151; transition: border-color 0.12s;
}
.wlsm-lms-qa-item:hover { border-color: #2563eb; }
.wlsm-lms-qa-item--on { border-color: #2563eb; background: #eff6ff; }
.wlsm-lms-qa-check { margin-left: auto; font-size: 11px; color: #2563eb; display: none; }
.wlsm-lms-qa-item--on .wlsm-lms-qa-check { display: block; }

/* Bottom grid */
.wlsm-lms-bottom-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 11px; padding: 11px 18px;
}
.wlsm-lms-bcard { background: #fff; border: 1.5px solid #d1d5db; border-radius: 10px; overflow: hidden; }
.wlsm-lms-bcard-head {
	display: flex; align-items: center; gap: 7px;
	padding: 10px 13px; border-bottom: 1.5px solid #e9ecef;
	font-size: 12px; font-weight: 700; color: #111827;
}
.wlsm-lms-bcard-head i { color: #2563eb; font-size: 13px; }
.wlsm-lms-bcard-body { padding: 6px 13px 10px; }

/* Notice rows */
.wlsm-lms-notice-row {
	display: flex; align-items: flex-start; gap: 8px;
	padding: 8px 0; border-bottom: 1px solid #e5e7eb;
}
.wlsm-lms-notice-row:last-child { border-bottom: none; }
.wlsm-lms-notice-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.wlsm-lms-notice-body { flex: 1; min-width: 0; }
.wlsm-lms-notice-title { font-size: 11.5px; font-weight: 600; color: #111827; line-height: 1.4; }
.wlsm-lms-notice-desc  { font-size: 10.5px; color: #6b7280; margin-top: 1px; }
.wlsm-lms-notice-meta  { text-align: right; flex-shrink: 0; }
.wlsm-lms-notice-date  { font-size: 10px; color: #9ca3af; }
.wlsm-lms-badge-new {
	display: inline-block; margin-top: 2px; background: #f4672a;
	color: #fff; font-size: 8px; font-weight: 700; border-radius: 3px; padding: 1px 4px;
}
.wlsm-lms-empty { display: flex; align-items: center; gap: 8px; color: #9ca3af; padding: 14px 0; font-size: 12px; }

/* Attendance rows */
.wlsm-lms-att-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f3f4f6; }
.wlsm-lms-att-row:last-child { border-bottom: none; }

/* Calendar widget */
.wlsm-lms-section-bar + .wlsm-dashboard-calendar-widget,
.wlsm-dashboard-calendar-widget {
	margin: 0 18px 18px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px !important;
	overflow: hidden !important;
}
.wlsm-lms-dashboard .wlsm-cal-header {
	background: #2563eb !important;
	padding: 12px 16px !important;
}
.wlsm-lms-dashboard .wlsm-cal-month-title { color: #fff !important; font-size: 13px !important; font-weight: 700 !important; }
.wlsm-lms-dashboard .wlsm-cal-legend-label { color: rgba(255,255,255,0.8) !important; font-size: 9px !important; }
.wlsm-lms-dashboard .wlsm-cal-table tbody td { height: 48px !important; vertical-align: top !important; padding: 3px !important; }
.wlsm-lms-dashboard .wlsm-cal-today .wlsm-day-number { background: #2563eb !important; color: #fff !important; border-radius: 50% !important; }
.wlsm-lms-dashboard .wlsm-cal-has-holiday { border-top: 2px solid #f59e0b !important; }
.wlsm-lms-dashboard .wlsm-cal-has-event   { border-top: 2px solid #3b82f6 !important; }
.wlsm-lms-dashboard .wlsm-cal-has-exam    { border-top: 2px solid #f4672a !important; }
.wlsm-lms-dashboard .wlsm-pill-holiday { background: #fef9c3 !important; color: #92400e !important; }
.wlsm-lms-dashboard .wlsm-pill-event   { background: #dbeafe !important; color: #1e40af !important; }
.wlsm-lms-dashboard .wlsm-pill-exam    { background: #ffe4d6 !important; color: #c2410c !important; }

/* ═══════════════════════════════════════
   ALL STUDENT PAGES (non-dashboard)
   ═══════════════════════════════════════ */

/* Shared page header */
.wlsm-nx-page-header {
	display: flex; align-items: center; gap: 13px;
	padding: 18px 20px 14px; border-bottom: 1px solid #f0f0f0; margin-bottom: 18px;
}
.wlsm-nx-page-icon {
	width: 40px; height: 40px; border-radius: 9px;
	display: flex; align-items: center; justify-content: center;
	font-size: 17px; flex-shrink: 0;
}
.wlsm-nx-page-title { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 2px; }
.wlsm-nx-page-sub   { font-size: 11.5px; color: #888; margin: 0; }

/* Session cards — assembly + combined */
.wlsm-nx-sessions-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 13px; padding: 0 20px 20px;
}
.wlsm-nx-session-card {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 11px;
	padding: 16px; transition: box-shadow 0.15s;
}
.wlsm-nx-session-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.wlsm-nx-session-badge {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 20px; margin-bottom: 8px;
}
.wlsm-nx-live      { background: #fef2f2; color: #ef4444; }
.wlsm-nx-scheduled { background: #eff6ff; color: #2563eb; }
.wlsm-nx-live i    { animation: wlsm-pulse 1.5s ease infinite; }
@keyframes wlsm-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.wlsm-nx-session-title { font-size: 13.5px; font-weight: 700; color: #111; margin: 0 0 5px; }
.wlsm-nx-session-desc  { font-size: 11px; color: #6b7280; margin: 0 0 8px; line-height: 1.5; }
.wlsm-nx-session-meta  { font-size: 10px; color: #9ca3af; display: flex; align-items: center; gap: 4px; margin-bottom: 3px; }
.wlsm-nx-join-btn {
	display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
	background: #f4672a; color: #fff !important; padding: 7px 14px;
	border-radius: 7px; font-size: 11px; font-weight: 700;
	border: none; cursor: pointer; text-decoration: none !important;
}
.wlsm-nx-join-btn:hover { opacity: 0.88; }

/* Empty state */
.wlsm-nx-empty-state { text-align: center; padding: 44px 24px; color: #9ca3af; }
.wlsm-nx-empty-state i   { font-size: 36px; margin-bottom: 12px; display: block; }
.wlsm-nx-empty-state h3  { font-size: 15px; font-weight: 700; color: #374151; margin: 0 0 6px; }
.wlsm-nx-empty-state p   { font-size: 12px; max-width: 320px; margin: 0 auto; }

/* Study materials — premium card grid */
.wlsm-st-study-materials.wlst-st-list {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
	gap: 14px !important; list-style: none !important;
	padding: 0 !important; margin: 0 0 24px !important;
}
.wlsm-st-study-materials li {
	background: #fff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 8px !important; padding: 0 !important;
	overflow: hidden !important;
	transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s !important;
	margin: 0 !important;
	display: flex !important; flex-direction: column !important;
}
.wlsm-st-study-materials li:hover {
	box-shadow: 0 8px 24px rgba(37,99,235,0.12) !important;
	transform: translateY(-2px) !important;
	border-color: #2563eb !important;
}
/* The outer span wrapper */
.wlsm-st-study-materials li span {
	display: flex !important; flex-direction: column !important;
}
/* Thumbnail area — full width, book-cover ratio */
.wlsm-st-study-materials li > span > span:first-child {
	background: linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%) !important;
	width: 100% !important;
	height: 240px !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
	position: relative !important; overflow: hidden !important;
	flex-shrink: 0 !important;
}
/* Cover image inside thumbnail */
.wlsm-st-study-materials li > span > span:first-child img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: top !important;
	display: block !important;
}
.wlsm-mat-initials {
	font-size: 42px !important;
	font-weight: 900 !important;
	color: rgba(255,255,255,0.9) !important;
	letter-spacing: 0.08em !important;
	text-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
	font-family: Georgia, serif !important;
}
.wlsm-st-study-material-title-text {
	padding: 12px 14px 10px !important;
	font-size: 13.5px !important; font-weight: 700 !important;
	color: #111827 !important; line-height: 1.45 !important;
}
/* Open Textbook button — premium full width */
.wlsm-st-view-study-material {
	display: flex !important; align-items: center !important;
	justify-content: center !important; gap: 8px !important;
	background: #2563eb !important; color: #fff !important;
	padding: 12px 16px !important;
	border-radius: 0 0 6px 6px !important;
	font-size: 13px !important; font-weight: 700 !important;
	text-decoration: none !important;
	width: 100% !important;
	transition: background 0.15s !important;
	margin: 0 !important;
	border: none !important;
	letter-spacing: 0.01em !important;
	box-shadow: none !important;
	cursor: pointer !important;
	pointer-events: all !important;
	position: relative !important;
	z-index: 2 !important;
}
.wlsm-st-view-study-material i { font-size: 13px !important; }
.wlsm-st-view-study-material:hover { background: #1d4ed8 !important; color: #fff !important; }
.wlsm-st-study-material-date { display: none !important; }
.wlsm-st-study-materials-section { padding: 0 20px 24px; }
.wlsm-st-main-title {
	font-size: 20px !important; font-weight: 700 !important; color: #111 !important;
	padding: 20px 22px 16px !important; border-bottom: 1.5px solid #e9ecef !important;
	margin-bottom: 20px !important;
}

/* Content area rounding + width for all pages */
.wlsm-container .wlsm-content-area {
	border-radius: 0 12px 12px 0 !important;
}

/* Chat — premium layout */
.wlsm-student-chat-section { background: #f0f2f5; }
.wlsm-student-chat-section .wlsm-registration-section {
	display: flex !important; flex-direction: column !important;
	background: transparent !important; box-shadow: none !important; border: none !important;
}
.wlsm-student-chat-section .wlsm-registration-section-header {
	background: transparent !important; border: none !important; box-shadow: none !important;
}
.wlsm-student-chat-section .wlsm-registration-section-title { color: #111 !important; }
.wlsm-st-chat-wrap {
	display: flex !important; flex: 1 !important; min-height: 520px !important;
	border: none !important; border-radius: 14px !important;
	overflow: hidden !important; margin: 0 16px 16px !important;
	box-shadow: 0 4px 24px rgba(0,0,0,0.1) !important;
}
.wlsm-chat-sidebar-col {
	width: 260px !important; flex-shrink: 0 !important;
	border-right: none !important;
	display: flex !important; flex-direction: column !important;
	background: #1a1f2e !important;
}
.wlsm-chat-sidebar-header {
	padding: 16px 16px 12px !important; font-weight: 700 !important;
	font-size: 14px !important; border-bottom: 1px solid rgba(255,255,255,0.07) !important;
	background: transparent !important; color: #fff !important;
	display: flex !important; justify-content: space-between !important; align-items: center !important;
}
.wlsm-chat-search-bar {
	padding: 10px 12px !important;
	background: transparent !important;
	border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
.wlsm-chat-search-bar input {
	background: rgba(255,255,255,0.08) !important;
	border: 1px solid rgba(255,255,255,0.1) !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 7px 12px !important;
	font-size: 12px !important;
}
.wlsm-chat-search-bar input::placeholder { color: rgba(255,255,255,0.3) !important; }
#wlsm-conversations-list { padding: 8px !important; overflow-y: auto !important; flex: 1 !important; }
.wlsm-chat-main-col {
	flex: 1 !important; display: flex !important;
	flex-direction: column !important; background: #fff !important;
}
#wlsm-chat-messages {
	flex: 1 !important; overflow-y: auto !important;
	padding: 20px 16px !important;
	background: #f7f8fa !important;
	display: flex !important; flex-direction: column !important; gap: 10px !important;
}
.wlsm-chat-win-header {
	padding: 14px 18px !important; font-weight: 700 !important;
	border-bottom: 1px solid #f0f0f0 !important; background: #fff !important;
	font-size: 13px !important; color: #111 !important;
}
.wlsm-chat-input-bar {
	padding: 12px 14px !important;
	border-top: 1px solid #f0f0f0 !important;
	background: #fff !important;
}
.wlsm-chat-input-bar textarea {
	border-radius: 10px !important;
	border: 1.5px solid #e2e8f0 !important;
	padding: 9px 13px !important;
	font-size: 13px !important;
	resize: none !important;
	outline: none !important;
}
.wlsm-chat-input-bar textarea:focus { border-color: #2563eb !important; }
.wlsm-chat-input-bar #wlsm-send-btn {
	background: #f4672a !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	padding: 0 18px !important;
}
#wlsm-chat-empty-state {
	display: flex !important; flex-direction: column !important;
	align-items: center !important; justify-content: center !important;
	flex: 1 !important; color: #9ca3af !important;
	gap: 10px !important;
}
#wlsm-chat-empty-state .dashicons { font-size: 48px !important; color: #d1d5db !important; }

/* Live classes table */
.wlsm-table-section { padding: 0 16px 16px; }
.wlsm-live-classes-table {
	width: 100% !important; border-collapse: collapse !important; font-size: 12px !important;
}
.wlsm-live-classes-table thead th {
	background: #f9fafb !important; padding: 9px 12px !important;
	font-weight: 700 !important; color: #374151 !important;
	border-bottom: 2px solid #e5e7eb !important; text-align: left !important;
}
.wlsm-live-classes-table tbody td {
	padding: 9px 12px !important; border-bottom: 1px solid #f3f4f6 !important; color: #374151 !important;
}
.wlsm-live-classes-table tbody tr:hover td { background: #f9fafb !important; }
.wlsm-join-btn {
	background: #2563eb !important; color: #fff !important;
	padding: 5px 11px !important; border-radius: 5px !important;
	font-size: 10px !important; font-weight: 700 !important;
	text-decoration: none !important; display: inline-block !important;
}
.wlsm-join-btn:hover { opacity: 0.88 !important; color: #fff !important; }

/* Page header pattern shared */
.wlsm-registration-header,
.wlsm-registration-section-header { padding: 16px 18px 13px !important; }
.wlsm-registration-title,
.wlsm-registration-section-title { font-size: 17px !important; font-weight: 700 !important; color: #111 !important; }

/* Responsive */
@media (max-width: 900px) {
	.wlsm-lms-quick-grid { grid-template-columns: repeat(2, 1fr); }
	.wlsm-lms-qa-all-grid { grid-template-columns: repeat(2, 1fr); }
	.wlsm-lms-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.wlsm-lms-hero { flex-direction: column; }
	.wlsm-lms-clock-box { width: 100%; text-align: center; min-width: unset; }
}

/* ═══════════════════════════════════════
   PREMIUM SESSION PAGES (Assembly + Combined)
   ═══════════════════════════════════════ */
.wlsm-sess-hero {
	position: relative;
	padding: 36px 32px 32px;
	border-radius: 0 12px 0 0;
	overflow: hidden;
	margin-bottom: 0;
}
.wlsm-sess-hero--asm {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #f4672a 100%);
}
.wlsm-sess-hero--comb {
	background: linear-gradient(135deg, #0f1623 0%, #1a1f2e 45%, #2563eb 100%);
}
.wlsm-sess-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}
.wlsm-sess-hero-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
}
.wlsm-sess-hero-icon {
	width: 54px; height: 54px;
	background: rgba(255,255,255,0.2);
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 24px; color: #fff;
	flex-shrink: 0;
	border: 1px solid rgba(255,255,255,0.25);
}
.wlsm-sess-hero-title {
	font-size: 30px; font-weight: 800;
	color: #fff; margin: 0 0 5px;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.wlsm-sess-hero-sub {
	font-size: 13.5px; color: rgba(255,255,255,0.85);
	margin: 0; line-height: 1.5; font-weight: 500;
}
.wlsm-sess-live-pill {
	margin-left: auto;
	background: rgba(255,255,255,0.2);
	border: 1px solid rgba(255,255,255,0.35);
	color: #fff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	backdrop-filter: blur(4px);
}
.wlsm-sess-pulse {
	width: 8px; height: 8px;
	background: #fff;
	border-radius: 50%;
	animation: wlsm-pulse-ring 1.5s ease infinite;
	flex-shrink: 0;
}
@keyframes wlsm-pulse-ring {
	0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
	70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.wlsm-sess-section-label {
	display: flex; align-items: center; gap: 7px;
	font-size: 10px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.1em;
	color: #6b7280;
	padding: 16px 24px 8px;
}
.wlsm-sess-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	padding: 0 24px 24px;
}
.wlsm-sess-card {
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px;
	transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
	position: relative;
	overflow: hidden;
	display: flex; flex-direction: column;
}
.wlsm-sess-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: #e5e7eb;
	border-radius: 14px 14px 0 0;
}
.wlsm-sess-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.09);
	transform: translateY(-2px);
	border-color: #d1d5db;
}
.wlsm-sess-card--live::before { background: linear-gradient(90deg,#ef4444,#f97316); }
.wlsm-sess-card--live { border-color: #fca5a5; }
.wlsm-sess-card--comb::before { background: linear-gradient(90deg,#1e3a8a,#2563eb); }
.wlsm-sess-card-top {
	display: flex; align-items: center; gap: 8px;
	margin-bottom: 12px; flex-wrap: wrap;
}
.wlsm-sess-badge {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 9.5px; font-weight: 700;
	padding: 4px 10px; border-radius: 20px;
	letter-spacing: 0.03em;
}
.wlsm-sess-badge--live { background: #fef2f2; color: #ef4444; }
.wlsm-sess-badge--live i { animation: wlsm-pulse 1.5s ease infinite; }
.wlsm-sess-badge--sched { background: #eff6ff; color: #2563eb; }
.wlsm-sess-badge--comb { background: #eff6ff; color: #2563eb; }
.wlsm-sess-subject-pill {
	background: #f1f5f9;
	color: #475569;
	font-size: 9.5px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 20px;
}
.wlsm-sess-viewers {
	margin-left: auto;
	font-size: 9.5px; color: #9ca3af;
	display: flex; align-items: center; gap: 4px;
}
.wlsm-sess-card-title {
	font-size: 16px; font-weight: 800;
	color: #111827; margin: 0 0 7px;
	line-height: 1.3;
}
.wlsm-sess-card-desc {
	font-size: 12px; color: #6b7280;
	margin: 0 0 10px; line-height: 1.6;
}
.wlsm-sess-card-meta {
	font-size: 11px; color: #9ca3af;
	display: flex; align-items: center; gap: 5px;
	margin-bottom: 5px;
}
.wlsm-sess-join-btn {
	display: flex; align-items: center; justify-content: center; gap: 7px;
	width: 100%; margin-top: auto; padding-top: 14px;
	background: #f4672a; color: #fff !important;
	padding: 10px 18px; border-radius: 9px;
	font-size: 12.5px; font-weight: 700;
	border: none; cursor: pointer;
	text-decoration: none !important;
	transition: opacity 0.12s, transform 0.1s;
	box-shadow: 0 4px 12px rgba(244,103,42,0.3);
}
.wlsm-sess-join-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.wlsm-sess-join-btn--comb {
	background: linear-gradient(135deg,#1e3a8a,#2563eb) !important;
	box-shadow: 0 4px 12px rgba(37,99,235,0.3) !important;
}
.wlsm-sess-join-btn--live {
	background: linear-gradient(135deg,#ef4444,#f4672a) !important;
	box-shadow: 0 4px 14px rgba(244,103,42,0.4) !important;
}
.wlsm-sess-empty {
	text-align: center;
	padding: 60px 24px;
}
.wlsm-sess-empty-icon {
	width: 64px; height: 64px;
	background: #fff8f5;
	border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	font-size: 28px; color: #f4672a;
	margin: 0 auto 16px;
	box-shadow: 0 4px 16px rgba(244,103,42,0.15);
}
.wlsm-sess-empty h3 { font-size: 16px; font-weight: 700; color: #374151; margin: 0 0 8px; }
.wlsm-sess-empty p  { font-size: 13px; color: #9ca3af; max-width: 320px; margin: 0 auto; }

/* ═══════════════════════════════════════
   PROMOTED RIBBON
   ═══════════════════════════════════════ */
.wlsm-promoted-ribbon {
	position: absolute;
	top: 12px; left: 50%; transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 7px;
	background: linear-gradient(135deg, #f59e0b, #f4672a);
	color: #fff; font-size: 11.5px; font-weight: 700;
	padding: 5px 18px 5px 14px; border-radius: 20px;
	letter-spacing: 0.02em; white-space: nowrap;
	box-shadow: 0 4px 16px rgba(244,103,42,0.5);
	z-index: 10;
	animation: wlsm-ribbon-glow 2s ease-in-out infinite;
}
@keyframes wlsm-ribbon-glow {
	0%,100% { box-shadow: 0 4px 14px rgba(244,103,42,0.4); }
	50%      { box-shadow: 0 6px 24px rgba(244,103,42,0.7); }
}

/* ── Learning Hub button ── */
.wlsm-lms-btn-hub {
	background: linear-gradient(135deg, #0f1623, #2563eb) !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,0.2) !important;
}
.wlsm-lms-btn-hub:hover { opacity: 0.9; }

/* ═══════════════════════════════════════
   LIVE CLASSES — premium table
   ═══════════════════════════════════════ */
.wlsm-student-meetings .wlsm-registration-header {
	background: linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%) !important;
	padding: 20px 28px !important;
	border-radius: 0 12px 0 0 !important;
}
.wlsm-student-meetings .wlsm-registration-title {
	color: #fff !important; font-size: 20px !important;
	font-weight: 800 !important; margin: 0 !important;
}
.wlsm-student-meetings .wlsm-registration-content { padding: 20px !important; }
.wlsm-live-classes-table {
	width: 100% !important; border-collapse: collapse !important;
	border-spacing: 0 !important; font-size: 13px !important;
}
.wlsm-live-classes-table thead th {
	background: #f8fafc !important; padding: 12px 16px !important;
	font-weight: 700 !important; color: #374151 !important;
	border-bottom: 2px solid #e2e8f0 !important;
	text-align: left !important; font-size: 11px !important;
	text-transform: uppercase !important; letter-spacing: 0.06em !important;
}
.wlsm-live-classes-table thead th:first-child { border-radius: 10px 0 0 0; }
.wlsm-live-classes-table thead th:last-child  { border-radius: 0 10px 0 0; }
.wlsm-live-classes-table tbody tr {
	background: #fff !important;
	transition: background 0.12s !important;
}
.wlsm-live-classes-table tbody tr:hover td { background: #f8fafc !important; }
.wlsm-live-classes-table tbody td {
	padding: 14px 16px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	color: #374151 !important; font-size: 13px !important;
	vertical-align: middle !important;
}
.wlsm-meeting-type {
	display: inline-block; padding: 3px 10px;
	background: #eff6ff; color: #2563eb;
	border-radius: 20px; font-size: 11px; font-weight: 600;
}
.wlsm-join-btn {
	display: inline-flex !important; align-items: center !important;
	gap: 5px !important; background: #2563eb !important;
	color: #fff !important; padding: 7px 14px !important;
	border-radius: 7px !important; font-size: 12px !important;
	font-weight: 700 !important; text-decoration: none !important;
	transition: background 0.12s !important; border: none !important;
	box-shadow: 0 2px 8px rgba(37,99,235,0.25) !important;
}
.wlsm-join-btn:hover { background: #1d4ed8 !important; color: #fff !important; }
.wlsm-rating-btn {
	display: inline-flex; align-items: center; gap: 5px;
	background: #f1f5f9; color: #475569;
	padding: 6px 12px; border-radius: 6px;
	font-size: 11.5px; font-weight: 600; text-decoration: none;
	border: 1px solid #e2e8f0; transition: all 0.12s;
}
.wlsm-rating-btn:hover { background: #e2e8f0; color: #1e293b; }

/* ═══════════════════════════════════════
   CLASS TIMETABLE — premium
   ═══════════════════════════════════════ */
.wlsm-student-class-time-table .wlsm-st-main-title {
	background: linear-gradient(135deg,#1e3a8a,#2563eb) !important;
	color: #fff !important; padding: 18px 24px !important;
	border-radius: 0 12px 0 0 !important;
	font-size: 17px !important; font-weight: 800 !important;
}
.wlsm-student-class-time-table .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-class-time-table .wlsm-st-main-title a {
	color: rgba(255,255,255,0.8) !important; font-size: 11px !important;
	background: rgba(255,255,255,0.15) !important;
	padding: 4px 10px !important; border-radius: 5px !important;
	text-decoration: none !important; margin-left: 12px !important;
}
.wlsm-st-class-time-table-section { padding: 20px !important; }
.wlsm-st-class-time-table {
	border-radius: 10px !important; overflow: hidden !important;
	border: 1.5px solid #e2e8f0 !important;
	border-collapse: separate !important; border-spacing: 0 !important;
}
.wlsm-st-class-time-table thead th {
	background: #1e3a8a !important; color: #fff !important;
	padding: 12px 16px !important; font-size: 12px !important;
	font-weight: 700 !important; text-align: center !important;
	border: none !important; letter-spacing: 0.05em !important;
}
.wlsm-st-class-time-table tbody td {
	padding: 10px 14px !important; text-align: center !important;
	border: 1px solid #f1f5f9 !important; font-size: 12.5px !important;
	color: #374151 !important; transition: background 0.1s !important;
}
.wlsm-st-class-time-table tbody tr:nth-child(even) td { background: #f8fafc !important; }
.wlsm-st-class-time-table tbody tr:hover td { background: #eff6ff !important; }
.wlsm-st-class-time-table tbody td:first-child {
	font-weight: 700 !important; color: #2563eb !important;
	background: #eff6ff !important; border-right: 2px solid #e2e8f0 !important;
}

/* ═══════════════════════════════════════
   CLASS TEACHER — premium
   ═══════════════════════════════════════ */
.wlsm-ct-section-head {
	background: linear-gradient(135deg,#1e3a8a,#2563eb);
	color: #fff; padding: 14px 20px;
	font-size: 14px; font-weight: 700;
	display: flex; align-items: center; gap: 8px;
	border-radius: 10px 10px 0 0;
}
.wlsm-student-class-teacher-section .card,
.wlsm-student-class-teacher-section > div > .card {
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 10px !important; overflow: hidden !important;
	margin-bottom: 24px !important; box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}
.wlsm-student-class-teacher-section .table thead th {
	background: #f8fafc !important; color: #374151 !important;
	font-size: 11px !important; text-transform: uppercase !important;
	letter-spacing: 0.06em !important; font-weight: 700 !important;
	padding: 11px 16px !important; border-bottom: 2px solid #e2e8f0 !important;
}
.wlsm-student-class-teacher-section .table tbody td {
	padding: 12px 16px !important; font-size: 13px !important;
	color: #374151 !important; border-bottom: 1px solid #f1f5f9 !important;
}
.wlsm-student-class-teacher-section .table tbody tr:hover td { background: #f8fafc !important; }
.wlsm-student-class-teacher-section .container { max-width: 100% !important; padding: 20px 24px 0 !important; }

/* ═══════════════════════════════════════
   FEE INVOICE / FEE STRUCTURE — premium
   ═══════════════════════════════════════ */
.wlsm-student-fee-invoices .wlsm-registration-header,
.wlsm-student-fee-structure .wlsm-registration-header {
	background: linear-gradient(135deg,#1e3a8a,#2563eb) !important;
	padding: 18px 24px !important; border-radius: 0 12px 0 0 !important;
}
.wlsm-student-fee-invoices .wlsm-registration-title,
.wlsm-student-fee-structure .wlsm-registration-title { color: #fff !important; font-size: 18px !important; font-weight: 800 !important; }
.wlsm-student-fee-invoices .wlsm-registration-content,
.wlsm-student-fee-structure .wlsm-registration-content { padding: 20px !important; }
.wlsm-student-fee-invoices table,
.wlsm-student-fee-structure table {
	border-collapse: separate !important; border-spacing: 0 !important;
	border-radius: 10px !important; overflow: hidden !important;
	border: 1.5px solid #e2e8f0 !important;
}
.wlsm-student-fee-invoices thead th,
.wlsm-student-fee-structure thead th {
	background: #f8fafc !important; color: #374151 !important;
	font-size: 11px !important; text-transform: uppercase !important;
	letter-spacing: 0.05em !important; font-weight: 700 !important;
	padding: 11px 14px !important;
}
.wlsm-student-fee-invoices tbody td,
.wlsm-student-fee-structure tbody td {
	padding: 12px 14px !important; color: #374151 !important;
	font-size: 13px !important; border-bottom: 1px solid #f1f5f9 !important;
}
.wlsm-student-fee-invoices tbody tr:hover td,
.wlsm-student-fee-structure tbody tr:hover td { background: #eff6ff !important; }

/* ── Student photo in hero ── */





/* ── Clock box photo row ── */
.wlsm-lms-clock-photo-row {
	display: flex; align-items: center; gap: 12px;
	width: 100%; padding-bottom: 4px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wlsm-lms-clock-avatar {
	width: 52px; height: 52px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.3);
	overflow: hidden; flex-shrink: 0;
	box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}
.wlsm-lms-clock-avatar img {
	width: 100%; height: 100%; object-fit: cover;
}
.wlsm-lms-clock-avatar span {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg,#2563eb,#f4672a);
	font-size: 20px; font-weight: 800; color: #fff;
}

/* ═══════════════════════════════════════
   LIVE CLASSES — premium table (restored)
   ═══════════════════════════════════════ */
.wlsm-lc-card {
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: box-shadow 0.15s, transform 0.12s;
	position: relative;
	overflow: hidden;
}
.wlsm-lc-card::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: #e2e8f0;
	border-radius: 14px 14px 0 0;
}
.wlsm-lc-card--live::before { background: linear-gradient(90deg,#2563eb,#f4672a); }
.wlsm-lc-card--live { border-color: rgba(37,99,235,0.25); }
.wlsm-lc-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.wlsm-lc-card-top {
	display: flex; align-items: center; gap: 8px;
}
.wlsm-lc-badge {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 10px; font-weight: 700;
	padding: 3px 10px; border-radius: 20px;
}
.wlsm-lc-badge--live { background: #eff6ff; color: #2563eb; }
.wlsm-lc-badge--live i { animation: wlsm-pulse 1.5s ease infinite; color: #ef4444; }
.wlsm-lc-badge--upcoming { background: #f1f5f9; color: #64748b; }
.wlsm-lc-type {
	margin-left: auto; font-size: 9.5px; font-weight: 600;
	color: #94a3b8; background: #f8fafc;
	padding: 3px 8px; border-radius: 20px; border: 1px solid #e2e8f0;
}
.wlsm-lc-title {
	font-size: 15px; font-weight: 700; color: #111827;
	margin: 0; line-height: 1.3;
}
.wlsm-lc-meta-row {
	display: flex; flex-direction: column; gap: 5px;
}
.wlsm-lc-meta {
	font-size: 11.5px; color: #6b7280;
	display: flex; align-items: center; gap: 6px;
}
.wlsm-lc-meta i { color: #2563eb; font-size: 11px; width: 14px; text-align: center; }
.wlsm-lc-actions {
	display: flex; align-items: center; gap: 8px;
	margin-top: auto; padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}
.wlsm-lc-join-btn {
	display: inline-flex; align-items: center; gap: 6px;
	flex: 1; justify-content: center;
	background: #2563eb; color: #fff !important;
	padding: 9px 14px; border-radius: 8px;
	font-size: 12px; font-weight: 700;
	text-decoration: none !important;
	transition: background 0.12s;
	box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.wlsm-lc-join-btn:hover { background: #1d4ed8; color: #fff !important; }
.wlsm-lc-rate-btn {
	display: inline-flex; align-items: center; gap: 5px;
	background: #f8fafc; color: #64748b !important;
	padding: 8px 12px; border-radius: 7px;
	font-size: 11.5px; font-weight: 600;
	text-decoration: none !important;
	border: 1px solid #e2e8f0;
	transition: all 0.12s; flex-shrink: 0;
}
.wlsm-lc-rate-btn:hover { background: #fffbeb; color: #d97706 !important; border-color: #fbbf24; }
.wlsm-lc-rate-btn i { color: #f59e0b; }
.wlsm-lc-upcoming-label {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 11.5px; color: #94a3b8; font-weight: 600;
}
.wlsm-lc-no-url { font-size: 11.5px; color: #94a3b8; }

/* ═══════════════════════════════════════
   LIVE CLASSES — premium table skin
   ═══════════════════════════════════════ */
.wlsm-student-meetings .wlsm-table-section {
	padding: 20px !important;
}
.wlsm-student-meetings .wlsm-live-classes-table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 6px !important;
	font-size: 13px !important;
}
.wlsm-student-meetings .wlsm-live-classes-table thead tr {
	background: #2563eb;
}
.wlsm-student-meetings .wlsm-live-classes-table thead th {
	background: transparent !important;
	color: #fff !important;
	padding: 12px 14px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	border: none !important;
}
.wlsm-student-meetings .wlsm-live-classes-table thead th:first-child { border-radius: 10px 0 0 10px; }
.wlsm-student-meetings .wlsm-live-classes-table thead th:last-child  { border-radius: 0 10px 10px 0; }
.wlsm-student-meetings .wlsm-live-classes-table tbody tr {
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	transition: box-shadow 0.12s, transform 0.1s;
}
.wlsm-student-meetings .wlsm-live-classes-table tbody tr:hover {
	box-shadow: 0 4px 14px rgba(37,99,235,0.1);
	transform: translateY(-1px);
}
.wlsm-student-meetings .wlsm-live-classes-table tbody td {
	padding: 14px 14px !important;
	border: none !important;
	border-bottom: none !important;
	color: #374151 !important;
	font-size: 13px !important;
	vertical-align: middle !important;
}
.wlsm-student-meetings .wlsm-live-classes-table tbody td:first-child { border-radius: 10px 0 0 10px; }
.wlsm-student-meetings .wlsm-live-classes-table tbody td:last-child  { border-radius: 0 10px 10px 0; }
.wlsm-student-meetings .wlsm-live-classes-table .wlsm-meeting-type {
	background: #eff6ff !important;
	color: #2563eb !important;
	border-radius: 20px !important;
	padding: 3px 10px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
}
.wlsm-student-meetings .wlsm-live-classes-table .wlsm-join-btn {
	background: #2563eb !important;
	color: #fff !important;
	padding: 7px 16px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	display: inline-block !important;
	box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
	transition: background 0.12s !important;
}
.wlsm-student-meetings .wlsm-live-classes-table .wlsm-join-btn:hover {
	background: #1d4ed8 !important;
}
.wlsm-student-meetings .wlsm-live-classes-table .wlsm-rating-btn {
	background: #f8fafc !important;
	color: #475569 !important;
	border: 1.5px solid #e2e8f0 !important;
	padding: 6px 12px !important;
	border-radius: 7px !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: all 0.12s !important;
}
.wlsm-student-meetings .wlsm-live-classes-table .wlsm-rating-btn:hover {
	background: #fffbeb !important;
	border-color: #fbbf24 !important;
	color: #d97706 !important;
}
.wlsm-student-meetings .wlsm-live-classes-table [style*="color:red"] {
	background: #fef2f2 !important;
	color: #ef4444 !important;
	padding: 3px 10px !important;
	border-radius: 20px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	border: 1px solid #fca5a5 !important;
	display: inline-block !important;
}

/* ═══════════════════════════════════════
   PERSISTENT HERO — shows on every page
   ═══════════════════════════════════════ */
.wlsm-persistent-hero {
	background: linear-gradient(135deg,#0f1623 0%,#1a1f2e 60%,#1e2540 100%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 28px 20px;
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 0 0;
	box-sizing: border-box;
}
.wlsm-persistent-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at top left, rgba(37,99,235,0.15), transparent 60%);
	pointer-events: none;
}

/* Left side */
.wlsm-ph-left { flex: 1; min-width: 0; position: relative; }
.wlsm-ph-eyebrow {
	display: flex; align-items: center; gap: 6px;
	font-size: 10px; color: rgba(255,255,255,0.38);
	letter-spacing: 0.04em; margin-bottom: 6px;
}
.wlsm-ph-eyebrow i { font-size: 9px; }
.wlsm-ph-title {
	font-size: 22px; font-weight: 800; color: #fff;
	margin: 0 0 3px; letter-spacing: -0.02em;
}
.wlsm-ph-sub {
	font-size: 11px; color: rgba(255,255,255,0.38);
	margin: 0 0 14px;
}
.wlsm-ph-stats {
	display: flex; align-items: center; gap: 0;
	margin-bottom: 16px; flex-wrap: wrap;
}
.wlsm-ph-stat { padding: 0 18px; }
.wlsm-ph-stat:first-child { padding-left: 0; }
.wlsm-ph-stat-val { font-size: 20px; font-weight: 700; color: #fff; line-height: 1; }
.wlsm-ph-stat-lbl { font-size: 9px; color: rgba(255,255,255,0.38); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.wlsm-ph-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.wlsm-ph-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.wlsm-ph-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 16px; border-radius: 8px;
	font-size: 12px; font-weight: 700;
	text-decoration: none !important; border: none; cursor: pointer;
	transition: opacity 0.12s;
}
.wlsm-ph-btn:hover { opacity: 0.88; }
.wlsm-ph-btn-primary  { background: #2563eb; color: #fff !important; box-shadow: 0 2px 10px rgba(37,99,235,0.35); }
.wlsm-ph-btn-outline  { background: #f4672a; color: #fff !important; box-shadow: 0 2px 10px rgba(244,103,42,0.35); }
.wlsm-ph-btn-hub      { background: rgba(255,255,255,0.1); color: #fff !important; border: 1px solid rgba(255,255,255,0.2) !important; }

/* Right side — clock */
.wlsm-ph-clock {
	flex-shrink: 0; min-width: 290px;
	background: linear-gradient(135deg,rgba(37,99,235,0.18) 0%,rgba(244,103,42,0.12) 100%);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 16px; padding: 16px 22px;
	display: flex; flex-direction: column; gap: 12px;
	backdrop-filter: blur(24px) saturate(1.8);
	-webkit-backdrop-filter: blur(24px) saturate(1.8);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),
	            inset 0 -1px 0 rgba(0,0,0,0.1),
	            0 8px 32px rgba(0,0,0,0.3),
	            0 0 0 1px rgba(37,99,235,0.2);
	position: relative; overflow: hidden;
}
.wlsm-ph-clock::before {
	content: '';
	position: absolute; top: -40px; right: -40px;
	width: 120px; height: 120px;
	background: radial-gradient(circle, rgba(244,103,42,0.25), transparent 70%);
	pointer-events: none;
}
.wlsm-ph-clock::after {
	content: '';
	position: absolute; bottom: -30px; left: -30px;
	width: 100px; height: 100px;
	background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 70%);
	pointer-events: none;
}
.wlsm-ph-clock-top {
	display: flex; align-items: center; gap: 11px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	position: relative; z-index: 1;
}
.wlsm-ph-avatar {
	width: 48px; height: 48px; border-radius: 50%;
	overflow: hidden; flex-shrink: 0;
	border: 2px solid rgba(255,255,255,0.2);
	box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}
.wlsm-ph-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wlsm-ph-avatar span {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg,#2563eb,#f4672a);
	font-size: 20px; font-weight: 800; color: #fff;
}
.wlsm-ph-greeting {
	font-size: 9px; color: rgba(255,255,255,0.45);
	text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
	margin-bottom: 2px;
}
.wlsm-ph-name {
	font-size: 16px; font-weight: 800; color: #fff;
	letter-spacing: -0.01em;
}
.wlsm-ph-digits {
	display: flex; align-items: center;
	justify-content: center; gap: 4px;
}
.wlsm-ph-date-row {
	display: flex; align-items: center;
	justify-content: space-between; gap: 8px;
	font-size: 11px; color: rgba(255,255,255,0.45);
}
.wlsm-ph-date-row .wlsm-lms-clock-period {
	font-size: 9px; padding: 2px 8px;
}

/* Content area sits right below hero with no gap */
.wlsm-container-student .wlsm-content-area {
	border-radius: 0 0 12px 0 !important;
	margin-top: 0 !important;
}
.wlsm-lms-dashboard { border-radius: 0 !important; }

/* Responsive hero */
@media (max-width: 900px) {
	.wlsm-persistent-hero { flex-direction: column; }
	.wlsm-ph-clock { width: 100%; }
}

/* Bottom margin on content pages */
.wlsm-container-student .wlsm-content-area { margin-bottom: 24px !important; }

/* Persistent hero — full width spanning content column only */

/* ═══════════════════════════════════════
   BOOKS ISSUED — premium card layout
   ═══════════════════════════════════════ */
.wlsm-books-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 20px;
	padding: 0 20px 24px;
}
.wlsm-book-card {
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.15s, transform 0.12s;
	display: flex;
	flex-direction: column;
}
.wlsm-book-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.wlsm-book-card--overdue  { border-color: #fca5a5; }
.wlsm-book-card--returned { border-color: #86efac; }

/* Cover */
.wlsm-book-cover {
	position: relative;
	height: 180px;
	overflow: hidden;
	flex-shrink: 0;
}
.wlsm-book-cover img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.wlsm-book-cover-placeholder {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, #1e3a8a, #2563eb);
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: 10px; padding: 16px;
}
.wlsm-book-cover-placeholder i {
	font-size: 36px; color: rgba(255,255,255,0.6);
}
.wlsm-book-cover-placeholder span {
	font-size: 11px; font-weight: 700;
	color: rgba(255,255,255,0.9);
	text-align: center; line-height: 1.4;
}

/* Status badge */
.wlsm-book-status-badge {
	position: absolute; bottom: 8px; left: 8px;
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 9.5px; font-weight: 700;
	padding: 3px 9px; border-radius: 20px;
	backdrop-filter: blur(4px);
}
.wlsm-book-badge--active   { background: rgba(37,99,235,0.9); color: #fff; }
.wlsm-book-badge--returned { background: rgba(22,163,74,0.9); color: #fff; }
.wlsm-book-badge--overdue  { background: rgba(239,68,68,0.9); color: #fff; }

/* Info */
.wlsm-book-info { padding: 13px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.wlsm-book-title { font-size: 13px; font-weight: 700; color: #111827; margin: 0 0 4px; line-height: 1.3; }
.wlsm-book-meta  { font-size: 11px; color: #6b7280; display: flex; align-items: center; gap: 5px; }
.wlsm-book-meta i { color: #2563eb; font-size: 10px; width: 12px; }
.wlsm-book-dates { display: flex; gap: 8px; margin-top: 8px; }
.wlsm-book-date-item { flex: 1; background: #f8fafc; border-radius: 6px; padding: 6px 8px; }
.wlsm-book-date-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; font-weight: 700; }
.wlsm-book-date-val   { font-size: 11px; font-weight: 700; color: #374151; margin-top: 1px; }
.wlsm-text-red { color: #ef4444 !important; }
.wlsm-book-isbn { font-size: 9.5px; color: #9ca3af; margin-top: 4px; }

/* ── Location pill in clock ── */
.wlsm-ph-location {
	display: none;
	align-items: center;
	gap: 4px;
	font-size: 10.5px;
	color: rgba(255,255,255,0.6);
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 20px;
	padding: 2px 9px;
}
.wlsm-ph-location i { font-size: 9px; color: #f4672a; }

/* ═══════════════════════════════════════
   ATTENDANCE PAGE — premium
   ═══════════════════════════════════════ */
.wlsm-student-attendance .wlsm-registration-header,
.wlsm-student-attendance .wlsm-st-main-title {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
	color: #fff !important;
	padding: 20px 26px !important;
	border-radius: 0 12px 0 0 !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	border-bottom: none !important;
}
.wlsm-student-attendance .wlsm-registration-title { color: #fff !important; }
.wlsm-student-attendance .wlsm-registration-content { padding: 24px !important; }

/* Attendance summary cards */
.wlsm-student-attendance .wlsm-table-block,
.wlsm-student-attendance .table-responsive {
	border-radius: 12px !important;
	overflow: hidden !important;
	border: 1.5px solid #e2e8f0 !important;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}
.wlsm-student-attendance table {
	border-collapse: collapse !important;
	width: 100% !important;
	font-size: 13.5px !important;
}
.wlsm-student-attendance thead th {
	background: #f8fafc !important;
	color: #374151 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	padding: 13px 18px !important;
	border-bottom: 2px solid #e2e8f0 !important;
	border-right: none !important;
	border-left: none !important;
}
.wlsm-student-attendance tbody td {
	padding: 14px 18px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	color: #374151 !important;
	font-size: 13px !important;
	border-right: none !important;
	border-left: none !important;
}
.wlsm-student-attendance tbody tr:hover td { background: #f0f7ff !important; }
.wlsm-student-attendance tbody tr:last-child td {
	font-weight: 700 !important;
	background: #f8fafc !important;
	color: #111 !important;
}
/* Month filter area */
.wlsm-student-attendance .wlsm-form-section {
	background: #f8fafc !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 16px 18px !important;
	margin: 16px 0 !important;
}
.wlsm-student-attendance label.wlsm-font-bold {
	color: #2563eb !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
}
.wlsm-student-attendance .btn-primary {
	background: #2563eb !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 9px 22px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* ═══════════════════════════════════════
   FEE INVOICE — premium
   ═══════════════════════════════════════ */
.wlsm-student-fee-invoices .wlsm-st-main-title {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
	color: #fff !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	padding: 20px 26px !important;
	border-radius: 0 12px 0 0 !important;
	border-bottom: none !important;
	margin-bottom: 0 !important;
}
.wlsm-student-fee-invoices .wlsm-st-main-title span { color: #fff !important; }

/* Invoice cards — each invoice as a premium card */
.wlsm-student-fee-invoices .wlsm-st-pending-fee-invoices-section {
	padding: 20px 24px !important;
}
.wlsm-student-fee-invoices table {
	border-collapse: separate !important;
	border-spacing: 0 8px !important;
	width: 100% !important;
}
.wlsm-student-fee-invoices thead th {
	background: #f8fafc !important;
	color: #374151 !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 12px 16px !important;
	border: none !important;
}
.wlsm-student-fee-invoices thead th:first-child { border-radius: 8px 0 0 8px; }
.wlsm-student-fee-invoices thead th:last-child  { border-radius: 0 8px 8px 0; }
.wlsm-student-fee-invoices tbody tr {
	background: #fff !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1.5px #e2e8f0 !important;
	border-radius: 10px !important;
	transition: box-shadow 0.15s !important;
}
.wlsm-student-fee-invoices tbody tr:hover {
	box-shadow: 0 4px 16px rgba(37,99,235,0.1), 0 0 0 1.5px #2563eb !important;
}
.wlsm-student-fee-invoices tbody td {
	padding: 14px 16px !important;
	border: none !important;
	color: #374151 !important;
	font-size: 13px !important;
	vertical-align: middle !important;
}
.wlsm-student-fee-invoices tbody td:first-child { border-radius: 10px 0 0 10px !important; }
.wlsm-student-fee-invoices tbody td:last-child  { border-radius: 0 10px 10px 0 !important; }
.wlsm-student-fee-invoices .badge-success,
.wlsm-student-fee-invoices .wlsm-badge-paid {
	background: #dcfce7 !important; color: #16a34a !important;
	font-weight: 700 !important; border-radius: 20px !important;
	padding: 3px 10px !important; font-size: 11px !important;
}
.wlsm-student-fee-invoices .badge-danger,
.wlsm-student-fee-invoices .wlsm-badge-unpaid {
	background: #fef2f2 !important; color: #ef4444 !important;
	font-weight: 700 !important; border-radius: 20px !important;
	padding: 3px 10px !important; font-size: 11px !important;
}
.wlsm-student-fee-invoices .btn-primary,
.wlsm-student-fee-invoices .btn-sm {
	background: #2563eb !important; color: #fff !important;
	border: none !important; border-radius: 7px !important;
	padding: 6px 14px !important; font-weight: 700 !important;
	font-size: 11.5px !important;
}

/* ═══════════════════════════════════════
   FEE STRUCTURE — premium
   ═══════════════════════════════════════ */
.wlsm-student-fee-structure .wlsm-st-main-title {
	background: linear-gradient(135deg, #2563eb 0%, #f4672a 100%) !important;
	color: #fff !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	padding: 20px 26px !important;
	border-radius: 0 12px 0 0 !important;
	border-bottom: none !important;
	margin-bottom: 0 !important;
	position: relative !important;
	overflow: hidden !important;
}
.wlsm-student-fee-structure .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-fee-structure .wlsm-st-fee-structure-section { padding: 20px 24px !important; }
.wlsm-student-fee-structure table {
	border-collapse: collapse !important;
	width: 100% !important;
	border: 2px solid #2563eb !important;
	border-radius: 10px !important;
	overflow: hidden !important;
}
.wlsm-student-fee-structure thead th {
	background: #2563eb !important;
	color: #fff !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 14px 18px !important;
	border: 1px solid rgba(255,255,255,0.15) !important;
}
.wlsm-student-fee-structure tbody td {
	padding: 13px 18px !important;
	border: 1px solid #e2e8f0 !important;
	color: #374151 !important;
	font-size: 13px !important;
}
.wlsm-student-fee-structure tbody tr:nth-child(even) td { background: #f8faff !important; }
.wlsm-student-fee-structure tbody tr:hover td { background: #eff6ff !important; }
.wlsm-student-fee-structure tfoot td {
	background: #eff6ff !important;
	font-weight: 800 !important;
	font-size: 14px !important;
	color: #2563eb !important;
	padding: 16px 18px !important;
	border: 1px solid #bfdbfe !important;
	border-top: 2px solid #2563eb !important;
}

/* ═══════════════════════════════════════
   PAYMENT HISTORY — premium
   ═══════════════════════════════════════ */
.wlsm-student-payment-history .wlsm-st-main-title {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%) !important;
	color: #fff !important; font-size: 20px !important; font-weight: 800 !important;
	padding: 20px 26px !important; border-radius: 0 12px 0 0 !important;
	border-bottom: none !important; margin-bottom: 0 !important;
}
.wlsm-student-payment-history .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-payment-history .wlsm-st-payment-history-section { padding: 20px 24px !important; }
.wlsm-student-payment-history table { border-collapse: separate !important; border-spacing: 0 6px !important; width: 100% !important; }
.wlsm-student-payment-history thead th {
	background: #f0fdf4 !important; color: #374151 !important;
	font-size: 10.5px !important; font-weight: 700 !important;
	text-transform: uppercase !important; letter-spacing: 0.07em !important;
	padding: 11px 16px !important; border: none !important;
}
.wlsm-student-payment-history tbody tr {
	background: #fff !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05), 0 0 0 1.5px #e2e8f0 !important;
	border-radius: 8px !important;
}
.wlsm-student-payment-history tbody tr:hover {
	box-shadow: 0 3px 12px rgba(37,99,235,0.1), 0 0 0 1.5px #2563eb !important;
}
.wlsm-student-payment-history tbody td {
	padding: 13px 16px !important; border: none !important;
	color: #374151 !important; font-size: 13px !important;
}
.wlsm-student-payment-history tbody td:first-child { border-radius: 8px 0 0 8px !important; }
.wlsm-student-payment-history tbody td:last-child  { border-radius: 0 8px 8px 0 !important; }

/* ═══════════════════════════════════════
   EXAM RESULTS — premium
   ═══════════════════════════════════════ */
.wlsm-student-exam-results .wlsm-st-main-title,
.wlsm-student-exam-results .wlsm-registration-section-header {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%) !important;
	color: #fff !important; font-size: 20px !important; font-weight: 800 !important;
	padding: 20px 26px !important; border-radius: 0 12px 0 0 !important;
	border-bottom: none !important;
}
.wlsm-student-exam-results .wlsm-registration-title,
.wlsm-student-exam-results .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-exam-results table { width: 100% !important; border-collapse: collapse !important; }
.wlsm-student-exam-results thead th {
	background: #eff6ff !important; color: #1e3a8a !important;
	font-size: 11px !important; font-weight: 700 !important;
	text-transform: uppercase !important; letter-spacing: 0.07em !important;
	padding: 12px 16px !important; border-bottom: 2px solid #2563eb !important;
}
.wlsm-student-exam-results tbody td {
	padding: 13px 16px !important; border-bottom: 1px solid #f1f5f9 !important;
	color: #374151 !important; font-size: 13px !important;
}
.wlsm-student-exam-results tbody tr:hover td { background: #f0f7ff !important; }

/* ═══════════════════════════════════════
   HOMEWORK — premium
   ═══════════════════════════════════════ */
.wlsm-student-home-work .wlsm-st-main-title,
.wlsm-student-home-work .wlsm-registration-section-header {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%) !important;
	color: #fff !important; font-size: 20px !important; font-weight: 800 !important;
	padding: 20px 26px !important; border-radius: 0 12px 0 0 !important;
}
.wlsm-student-home-work .wlsm-registration-title,
.wlsm-student-home-work .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-home-work table { border-collapse: collapse !important; width: 100% !important; }
.wlsm-student-home-work thead th {
	background: #f8fafc !important; color: #374151 !important;
	font-size: 11px !important; font-weight: 700 !important;
	text-transform: uppercase !important; letter-spacing: 0.07em !important;
	padding: 12px 16px !important; border-bottom: 2px solid #e2e8f0 !important;
}
.wlsm-student-home-work tbody td {
	padding: 13px 16px !important; border-bottom: 1px solid #f1f5f9 !important;
	color: #374151 !important; font-size: 13px !important;
}
.wlsm-student-home-work tbody tr:hover td { background: #f8fafc !important; }

/* ═══════════════════════════════════════
   CLASSMATES — premium
   ═══════════════════════════════════════ */
.wlsm-student-classmates .wlsm-st-main-title {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
	color: #fff !important; font-size: 20px !important; font-weight: 800 !important;
	padding: 20px 26px !important; border-radius: 0 12px 0 0 !important;
	border-bottom: none !important; margin-bottom: 0 !important;
}
.wlsm-student-classmates .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-classmates .wlsm-st-classmates-section { padding: 20px !important; }
.wlsm-student-classmates .wlsm-st-classmate-card {
	border: 1.5px solid #e2e8f0 !important; border-radius: 12px !important;
	transition: box-shadow 0.15s, transform 0.12s !important;
	overflow: hidden !important;
}
.wlsm-student-classmates .wlsm-st-classmate-card:hover {
	box-shadow: 0 6px 20px rgba(37,99,235,0.1) !important;
	transform: translateY(-2px) !important;
	border-color: #2563eb !important;
}

/* ═══════════════════════════════════════
   NOTICEBOARD — premium
   ═══════════════════════════════════════ */
.wlsm-student-noticeboard .wlsm-st-main-title {
	background: linear-gradient(135deg, #f4672a 0%, #f97316 100%) !important;
	color: #fff !important; font-size: 20px !important; font-weight: 800 !important;
	padding: 20px 26px !important; border-radius: 0 12px 0 0 !important;
	border-bottom: none !important; margin-bottom: 0 !important;
}
.wlsm-student-noticeboard .wlsm-st-main-title span { color: #fff !important; }
.wlsm-student-noticeboard .wlsm-st-noticeboard-section { padding: 20px 24px !important; }
.wlsm-student-noticeboard .wlsm-st-noticeboard-card {
	border: 1.5px solid #e2e8f0 !important; border-radius: 12px !important;
	border-left: 4px solid #f4672a !important;
	transition: box-shadow 0.15s !important;
	overflow: hidden !important; margin-bottom: 12px !important;
}
.wlsm-student-noticeboard .wlsm-st-noticeboard-card:hover {
	box-shadow: 0 4px 14px rgba(244,103,42,0.1) !important;
}

/* ═══════════════════════════════════════
   GENERAL — all content areas premium base
   ═══════════════════════════════════════ */
.wlsm-content-area { border-radius: 0 0 12px 0 !important; }
.wlsm-registration-section {
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
	margin-bottom: 20px !important;
}
.wlsm-registration-section-header {
	border-bottom: 1.5px solid #e2e8f0 !important;
	padding: 14px 20px !important;
}
.wlsm-registration-section-content { padding: 0 !important; }
.wlsm-table-block { padding: 0 !important; }
.wlsm-table-block .table-responsive { padding: 16px 20px !important; }

/* Location pill */
.wlsm-ph-location {
	display: none;
	align-items: center; gap: 4px;
	font-size: 10.5px; color: rgba(255,255,255,0.75);
	background: rgba(244,103,42,0.2);
	border: 1px solid rgba(244,103,42,0.35);
	border-radius: 20px; padding: 2px 9px;
}
.wlsm-ph-location i { font-size: 9px; color: #f4672a; }

/* ── Study material modal — premium ── */
.wlsm-sm-modal {
	display: flex; gap: 0; min-height: 200px;
}
.wlsm-sm-modal-cover {
	width: 200px; flex-shrink: 0;
	background: #1e3a8a;
}
.wlsm-sm-modal-cover img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.wlsm-sm-modal-body {
	flex: 1; padding: 24px 28px;
	display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.wlsm-sm-modal-desc {
	font-size: 14px; color: #374151; line-height: 1.6; margin: 0;
}
.wlsm-sm-modal-meta {
	font-size: 12px; color: #9ca3af;
	display: flex; align-items: center; gap: 6px;
}
.wlsm-sm-modal-meta i { color: #2563eb; }
.wlsm-sm-modal-open-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: #2563eb; color: #fff !important;
	padding: 12px 24px; border-radius: 8px;
	font-size: 14px; font-weight: 700;
	text-decoration: none !important;
	transition: background 0.15s;
	width: fit-content;
	box-shadow: 0 3px 10px rgba(37,99,235,0.3);
}
.wlsm-sm-modal-open-btn:hover { background: #1d4ed8 !important; color: #fff !important; }

/* ── Full-width portal — remove all side gaps ── */
.wlsm-shortcode-entity,
.wlsm-container,
.wlsm-container-student {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* Force the WordPress page/post content wrapper to be full width */
.entry-content .wlsm-shortcode-entity,
.post-content .wlsm-shortcode-entity,
article .wlsm-shortcode-entity,
.page-content .wlsm-shortcode-entity {
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
	max-width: 100vw !important;
	width: 100vw !important;
}
.wlsm-container .wlsm-content-area {
	border: none !important;
	box-shadow: none !important;
}
.wlsm-sidebar-nav.wlsm-theme-dark,
.wlsm-sidebar-nav.wlsm-theme-light {
	margin: 0 !important;
	padding-top: 0 !important;
}

/* ── Promoted ribbon — inline before quick access ── */
.wlsm-promoted-inline {
	display: flex; align-items: center; gap: 10px;
	background: #f4672a;
	color: #fff; font-size: 14px; font-weight: 800;
	padding: 14px 24px; margin: 0;
	border-radius: 0;
	box-shadow: 0 4px 20px rgba(244,103,42,0.4);
	letter-spacing: 0.01em;
}
.wlsm-promoted-inline i { font-size: 18px; flex-shrink: 0; }

/* ── Fee invoice breakdown ── */
.wlsm-inv-breakdown {
	margin-top: 8px;
	border-top: 1px dashed #e2e8f0;
	padding-top: 6px;
}
.wlsm-inv-line {
	display: flex; justify-content: space-between;
	align-items: center; padding: 3px 0;
	font-size: 11.5px; color: #6b7280;
	border-bottom: 1px solid #f8fafc;
}
.wlsm-inv-line-label { font-weight: 500; }
.wlsm-inv-line-amt { font-weight: 700; color: #374151; }

/* ── Sidebar banner ── */
.wlsm-sb-banner-item {
	list-style: none !important;
	padding: 12px 10px 8px !important;
	margin-top: 8px !important;
}
.wlsm-sb-banner-link {
	display: block !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	border: 2px solid #1a1f2e !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s !important;
}
.wlsm-sb-banner-link:hover {
	transform: translateY(-2px) !important;
	border-color: #f4672a !important;
	box-shadow: 0 8px 24px rgba(244,103,42,0.3) !important;
}
.wlsm-sb-banner-img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
}

/* ── Ensure sidebar banner is visible ── */
.wlsm-sidebar-nav.wlsm-navigation-links {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}
