
/* ============================================================
   GLOBAL ZERO-MARGIN RESET FOR WP-SITE-BLOCKS & HEADERS
   ============================================================ */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

body .wp-site-blocks,
.wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
}

:where(.wp-site-blocks) > *,
.wp-site-blocks > *,
body .wp-site-blocks > * {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
    margin-block-end: 0 !important;
    margin-bottom: 0 !important;
}

/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Custom Child Theme for Teknaf Govt. Technical School & College
Author: Elementor Team & Teknaf TSC Team
Author URI: https://teknaftsc.gov.bd/
Template: hello-elementor
Version: 2.1.4
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ============================================================
   TEKNAF GOVT. TECHNICAL SCHOOL & COLLEGE - Custom CSS Overrides
   For: School Management V9.3 Plugin + Contact Form 7
   Design System: Deep Navy (#002147) / Warm Gold (#FFD700) / Govt Green (#006A4E)
   ============================================================ */


/* ============================================================
   BASARA HIGH SCHOOL - Custom CSS Overrides
   For: School Management V9.3 Plugin + Contact Form 7
   Design System: Navy (#002147) / Gold (#FFD700)
   
   HOW TO APPLY:
   Go to WordPress Dashboard → Appearance → Customize → Additional CSS
   Paste this ENTIRE file there and click "Publish"
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES (Design Tokens)
   ============================================================ */
:root {
    --teknaf-navy: #002147;
    --teknaf-navy-light: #003366;
    --teknaf-navy-lighter: #e8edf3;
    --teknaf-navy-5: rgba(0, 33, 71, 0.05);
    --teknaf-navy-10: rgba(0, 33, 71, 0.1);
    --teknaf-gold: #FFD700;
    --teknaf-gold-light: #FFF4CC;
    --teknaf-gold-dark: #C7A600;
    --teknaf-white: #ffffff;
    --teknaf-gray-50: #f9fafb;
    --teknaf-gray-100: #f3f4f6;
    --teknaf-gray-200: #e5e7eb;
    --teknaf-gray-300: #d1d5db;
    --teknaf-gray-400: #9ca3af;
    --teknaf-gray-500: #6b7280;
    --teknaf-gray-600: #4b5563;
    --teknaf-gray-700: #374151;
    --teknaf-danger: #ef4444;
    --teknaf-success: #22c55e;
    --teknaf-radius: 0.75rem;
    --teknaf-radius-lg: 1rem;
    --teknaf-radius-xl: 1.5rem;
    --teknaf-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --teknaf-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --teknaf-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --teknaf-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --teknaf-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --teknaf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. GLOBAL PLUGIN CONTAINER OVERRIDES
   ============================================================ */

/* Main container */
.wlsm-container,
.wlsm,
.wlsm-shortcode-entity {
    font-family: var(--teknaf-font-sans) !important;
    color: var(--teknaf-navy) !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}

/* Content area */
.wlsm-container .wlsm-content-area,
.wlsm-shortcode-entity .wlsm-content-area {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: auto !important;
    color: var(--teknaf-navy) !important;
}

/* ============================================================
   3. FORM CONTROLS - Inputs, Selects, Textareas
   ============================================================ */

.wlsm .wlsm-form-control,
.wlsm-form-control,
.wlsm select.wlsm-form-control,
.wlsm input.wlsm-form-control,
.wlsm textarea.wlsm-form-control,
#wlsm-login-form .input,
#wlsm-login-form input[type="text"],
#wlsm-login-form input[type="password"] {
    width: 100% !important;
    height: auto !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    font-family: var(--teknaf-font-sans) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--teknaf-navy) !important;
    background-color: var(--teknaf-gray-50) !important;
    border: 2px solid var(--teknaf-gray-200) !important;
    border-radius: var(--teknaf-radius) !important;
    transition: var(--teknaf-transition) !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

.wlsm .wlsm-form-control:focus,
.wlsm-form-control:focus,
#wlsm-login-form .input:focus,
#wlsm-login-form input[type="text"]:focus,
#wlsm-login-form input[type="password"]:focus {
    border-color: var(--teknaf-gold) !important;
    background-color: var(--teknaf-white) !important;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15) !important;
}

/* Select dropdown custom arrow */
.wlsm select.wlsm-form-control,
select.wlsm-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23002147' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1rem) center !important;
    background-size: 12px !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
}

/* ============================================================
   4. FORM LABELS
   ============================================================ */

.wlsm .wlsm-form-label,
.wlsm-form-label,
#wlsm-login-form label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--teknaf-navy) !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.02em !important;
    font-family: var(--teknaf-font-sans) !important;
}

/* ============================================================
   5. FORM GROUPS & LAYOUT (wlsm-row / wlsm-col)
   ============================================================ */

.wlsm .wlsm-form-group,
.wlsm-form-group {
    margin-bottom: 1.5rem !important;
}

.wlsm .wlsm-row,
.wlsm-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
}

.wlsm .wlsm-col-4,
.wlsm-col-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.wlsm .wlsm-col-8,
.wlsm-col-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

@media (min-width: 640px) {
    .wlsm .wlsm-col-4,
    .wlsm-col-4 {
        flex: 0 0 35% !important;
        max-width: 35% !important;
        display: flex !important;
        align-items: center !important;
        padding-top: 0.875rem !important;
    }
    .wlsm .wlsm-col-8,
    .wlsm-col-8 {
        flex: 0 0 65% !important;
        max-width: 65% !important;
    }
}

/* ============================================================
   6. BUTTONS
   ============================================================ */

.wlsm .wlsm-btn,
.wlsm-btn,
.wlsm .button,
.wlsm button.button,
.wlsm input[type="submit"],
#wlsm-login-form .button-primary,
#wlsm-login-form input[type="submit"],
#wlsm-get-exam-result-btn,
#wlsm-get-pending-invoices-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.875rem 2rem !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    font-family: var(--teknaf-font-sans) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--teknaf-navy) !important;
    background-color: var(--teknaf-gold) !important;
    border: 2px solid var(--teknaf-gold) !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: var(--teknaf-transition) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px -1px rgba(255, 215, 0, 0.25) !important;
    width: auto !important;
    min-width: 160px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.wlsm .wlsm-btn:hover,
.wlsm-btn:hover,
.wlsm .button:hover,
.wlsm button.button:hover,
.wlsm input[type="submit"]:hover,
#wlsm-login-form .button-primary:hover,
#wlsm-login-form input[type="submit"]:hover,
#wlsm-get-exam-result-btn:hover,
#wlsm-get-pending-invoices-btn:hover {
    background-color: var(--teknaf-navy) !important;
    color: var(--teknaf-white) !important;
    border-color: var(--teknaf-navy) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 33, 71, 0.3) !important;
}

.wlsm .wlsm-btn:active,
.wlsm-btn:active {
    transform: translateY(0) !important;
}

/* ============================================================
   7. HEADER TITLES & SECTION TITLES
   ============================================================ */

.wlsm .wlsm-header-title,
.wlsm-header-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--teknaf-navy) !important;
    font-family: var(--teknaf-font-sans) !important;
    margin-bottom: 2rem !important;
    padding-bottom: 0 !important;
}

.wlsm .wlsm-header-title span,
.wlsm-header-title span {
    border-bottom: 3px solid var(--teknaf-gold) !important;
    padding-bottom: 0.5rem !important;
}

.wlsm-st-main-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--teknaf-navy) !important;
    font-family: var(--teknaf-font-sans) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 3px solid var(--teknaf-gold) !important;
}

/* ============================================================
   8. TEXT COLOR OVERRIDES
   ============================================================ */

.wlsm .wlsm-text-primary,
.wlsm-text-primary {
    color: var(--teknaf-navy) !important;
}

.wlsm .wlsm-text-success,
.wlsm-text-success {
    color: var(--teknaf-success) !important;
}

.wlsm .wlsm-text-secondary,
.wlsm-text-secondary {
    color: var(--teknaf-gray-500) !important;
}

.wlsm .wlsm-text-danger,
.wlsm-text-danger {
    color: var(--teknaf-danger) !important;
}

/* ============================================================
   9. BORDERS
   ============================================================ */

.wlsm .wlsm-border-bottom,
.wlsm-border-bottom {
    border-bottom: 2px solid var(--teknaf-gray-200) !important;
}

.wlsm .wlsm-border-top,
.wlsm-border-top {
    border-top: 2px solid var(--teknaf-gray-200) !important;
    padding-top: 1.5rem !important;
    margin-top: 1rem !important;
}

/* ============================================================
   10. ERROR MESSAGES
   ============================================================ */

.wlsm .wlsm-error-message,
.wlsm-error-message {
    color: var(--teknaf-danger) !important;
    padding: 0.75rem 1rem !important;
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: var(--teknaf-radius) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.wlsm .wlsm-is-invalid,
.wlsm-is-invalid {
    border-color: var(--teknaf-danger) !important;
    background-color: #fef2f2 !important;
}

/* ============================================================
   11. DASHBOARD NAVIGATION LINKS (Post-login)
   ============================================================ */

.wlsm-container .wlsm-navigation-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.375rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.wlsm-navigation-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wlsm-navigation-links li a {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: var(--teknaf-navy) !important;
    background-color: var(--teknaf-white) !important;
    border: 1px solid var(--teknaf-gray-200) !important;
    border-radius: var(--teknaf-radius) !important;
    text-decoration: none !important;
    transition: var(--teknaf-transition) !important;
    box-shadow: none !important;
    font-family: var(--teknaf-font-sans) !important;
}

.wlsm-navigation-links li a:hover,
.wlsm-navigation-links li a:focus {
    color: var(--teknaf-gold) !important;
    background-color: var(--teknaf-navy) !important;
    border-color: var(--teknaf-navy) !important;
    box-shadow: var(--teknaf-shadow-md) !important;
    transform: translateX(4px) !important;
}

.wlsm-navigation-links li a.active {
    color: var(--teknaf-white) !important;
    background-color: var(--teknaf-navy) !important;
    border-color: var(--teknaf-navy) !important;
    box-shadow: var(--teknaf-shadow-md) !important;
}

/* ============================================================
   12. NOTICEBOARD SECTION
   ============================================================ */

.wlsm-section-noticeboard,
.wlsm-student-noticeboard {
    font-family: var(--teknaf-font-sans) !important;
}

.wlsm-st-notices-section {
    padding: 0 !important;
}

/* "No notice" message */
.wlsm-st-notices-section .wlsm-font-medium {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 2rem !important;
    background-color: var(--teknaf-gray-50) !important;
    border: 2px dashed var(--teknaf-gray-200) !important;
    border-radius: var(--teknaf-radius-xl) !important;
    color: var(--teknaf-gray-400) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* Notice items */
.wlsm-st-notices-section .wlsm-notice-item,
.wlsm-st-notices-section > div:not(:empty) {
    padding: 1.25rem 1.5rem !important;
    background-color: var(--teknaf-white) !important;
    border: 1px solid var(--teknaf-gray-200) !important;
    border-radius: var(--teknaf-radius-lg) !important;
    margin-bottom: 0.75rem !important;
    transition: var(--teknaf-transition) !important;
}

.wlsm-st-notices-section .wlsm-notice-item:hover {
    border-color: var(--teknaf-gold) !important;
    box-shadow: var(--teknaf-shadow-md) !important;
    transform: translateY(-1px) !important;
}

/* ============================================================
   13. LOGIN FORM SPECIFIC OVERRIDES
   ============================================================ */

/* Login form container */
#wlsm-login-form {
    max-width: 480px !important;
    margin: 0 auto !important;
}

#wlsm-login-form p {
    margin-bottom: 1.5rem !important;
}

/* Remember me checkbox */
#wlsm-login-form .login-remember {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}

#wlsm-login-form .login-remember label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.875rem !important;
    color: var(--teknaf-gray-500) !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

#wlsm-login-form .login-remember input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--teknaf-gold) !important;
    cursor: pointer !important;
    border-radius: 4px !important;
}

/* Submit button full width for login */
#wlsm-login-form .login-submit {
    margin-top: 0.5rem !important;
}

#wlsm-login-form input[type="submit"] {
    width: 100% !important;
    min-width: unset !important;
    padding: 1rem 2rem !important;
}

/* Lost password link */
#wlsm-login-form + a,
a[href*="lostpassword"] {
    display: block !important;
    text-align: center !important;
    color: var(--teknaf-gray-500) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-top: 1.5rem !important;
    transition: var(--teknaf-transition) !important;
    font-family: var(--teknaf-font-sans) !important;
}

#wlsm-login-form + a:hover,
a[href*="lostpassword"]:hover {
    color: var(--teknaf-gold) !important;
}

/* ============================================================
   14. TABLES (for results, fee details, etc.)
   ============================================================ */

.wlsm table,
.wlsm-container table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: var(--teknaf-radius-lg) !important;
    overflow: hidden !important;
    font-family: var(--teknaf-font-sans) !important;
    border: 1px solid var(--teknaf-gray-200) !important;
}

.wlsm table thead th,
.wlsm-container table thead th {
    background-color: var(--teknaf-navy) !important;
    color: var(--teknaf-white) !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 1rem 1.25rem !important;
    text-align: left !important;
    border: none !important;
    white-space: nowrap !important;
}

.wlsm table tbody td,
.wlsm-container table tbody td {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.9375rem !important;
    color: var(--teknaf-navy) !important;
    border-bottom: 1px solid var(--teknaf-gray-100) !important;
    background-color: var(--teknaf-white) !important;
    vertical-align: middle !important;
}

.wlsm table tbody tr:nth-child(even) td,
.wlsm-container table tbody tr:nth-child(even) td {
    background-color: var(--teknaf-gray-50) !important;
}

.wlsm table tbody tr:hover td,
.wlsm-container table tbody tr:hover td {
    background-color: var(--teknaf-gold-light) !important;
}

.wlsm table tbody tr:last-child td,
.wlsm-container table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Responsive table wrapper */
.wlsm-container,
.wlsm {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* ============================================================
   15. LOGGED-IN INFO BAR
   ============================================================ */

.wlsm-logged-in-info {
    text-align: right !important;
    margin-bottom: 1.5rem !important;
    padding: 0.75rem 1rem !important;
    background-color: var(--teknaf-gray-50) !important;
    border-radius: var(--teknaf-radius) !important;
    border: 1px solid var(--teknaf-gray-200) !important;
    font-family: var(--teknaf-font-sans) !important;
}

.wlsm-logged-in-info a {
    color: var(--teknaf-navy) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: var(--teknaf-transition) !important;
}

.wlsm-logged-in-info a:hover {
    color: var(--teknaf-gold) !important;
}

/* ============================================================
   16. DASHBOARD CONTENT AREA (post-login)
   ============================================================ */

.wlsm-st-main-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--teknaf-navy) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 3px solid var(--teknaf-gold) !important;
    font-family: var(--teknaf-font-sans) !important;
}

.wlsm-container .wlsm-st-details-heading {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--teknaf-navy) !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1rem !important;
    border-bottom: 2px solid var(--teknaf-gray-200) !important;
    font-family: var(--teknaf-font-sans) !important;
}

/* No record found message */
.wlsm-no-record-found {
    padding: 2rem !important;
    text-align: center !important;
    color: var(--teknaf-gray-400) !important;
    background-color: var(--teknaf-gray-50) !important;
    border: 2px dashed var(--teknaf-gray-200) !important;
    border-radius: var(--teknaf-radius-lg) !important;
    font-size: 0.9375rem !important;
    margin: 1.5rem 0 !important;
}

/* ============================================================
   17. EXAM RESULT DISPLAY
   ============================================================ */

.wlsm-exam-result {
    margin-top: 2rem !important;
}

.wlsm-exam-result table {
    border-radius: var(--teknaf-radius-lg) !important;
    overflow: hidden !important;
}

/* ============================================================
   18. FEE SUBMISSION - Invoice Display
   ============================================================ */

#wlsm-get-pending-invoices-students-section .wlsm-header-title {
    position: relative !important;
}

/* ============================================================
   19. SPACING UTILITIES (Override plugin defaults)
   ============================================================ */

.wlsm .wlsm-mb-1 { margin-bottom: 0.5rem !important; }
.wlsm .wlsm-mb-2 { margin-bottom: 1rem !important; }
.wlsm .wlsm-mb-3 { margin-bottom: 1.5rem !important; }
.wlsm .wlsm-mt-1 { margin-top: 0.5rem !important; }
.wlsm .wlsm-mt-2 { margin-top: 1rem !important; }
.wlsm .wlsm-pt-1 { padding-top: 0.5rem !important; }
.wlsm .wlsm-pt-2 { padding-top: 1rem !important; }
.wlsm .wlsm-pb-1 { padding-bottom: 0.5rem !important; }
.wlsm .wlsm-pb-2 { padding-bottom: 1rem !important; }

/* ============================================================
   20. TOASTR NOTIFICATION OVERRIDES
   ============================================================ */

.toast-success {
    background-color: var(--teknaf-navy) !important;
    border-radius: var(--teknaf-radius) !important;
    box-shadow: var(--teknaf-shadow-lg) !important;
}

.toast-error {
    background-color: var(--teknaf-danger) !important;
    border-radius: var(--teknaf-radius) !important;
    box-shadow: var(--teknaf-shadow-lg) !important;
}

.toast-info {
    background-color: var(--teknaf-navy-light) !important;
    border-radius: var(--teknaf-radius) !important;
    box-shadow: var(--teknaf-shadow-lg) !important;
}

/* ============================================================
   21. JQUERY CONFIRM DIALOG OVERRIDES
   ============================================================ */

.jconfirm .jconfirm-box {
    border-radius: var(--teknaf-radius-xl) !important;
    font-family: var(--teknaf-font-sans) !important;
    box-shadow: var(--teknaf-shadow-xl) !important;
}

.jconfirm .jconfirm-box .jconfirm-title-c {
    font-weight: 700 !important;
    color: var(--teknaf-navy) !important;
}

.jconfirm .jconfirm-box .jconfirm-buttons button {
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-family: var(--teknaf-font-sans) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.875rem !important;
    padding: 0.625rem 1.5rem !important;
}

/* ============================================================
   22. ZEBRA DATEPICKER OVERRIDES
   ============================================================ */

.Zebra_DatePicker {
    border-radius: var(--teknaf-radius-lg) !important;
    box-shadow: var(--teknaf-shadow-xl) !important;
    border: 1px solid var(--teknaf-gray-200) !important;
    font-family: var(--teknaf-font-sans) !important;
}

.Zebra_DatePicker .dp_header .dp_previous,
.Zebra_DatePicker .dp_header .dp_next,
.Zebra_DatePicker .dp_header .dp_caption {
    color: var(--teknaf-navy) !important;
    font-weight: 600 !important;
}

.Zebra_DatePicker td.dp_selected {
    background-color: var(--teknaf-gold) !important;
    color: var(--teknaf-navy) !important;
}

.Zebra_DatePicker td.dp_current {
    color: var(--teknaf-gold) !important;
}

.Zebra_DatePicker td:hover {
    background-color: var(--teknaf-navy-lighter) !important;
}

/* ============================================================
   23. PRINT PREVIEW OVERRIDES
   ============================================================ */

@media print {
    .wlsm-container .wlsm-content-area {
        border: none !important;
        box-shadow: none !important;
    }
}

/* ============================================================
   24. MOBILE APP PAGES (/app-*) OVERRIDES
   Targeting pages with bottom nav bar (page-id-265 etc.)
   ============================================================ */

/* App page plugin overrides (blue design system) */
body.page-id-265 .wlsm .wlsm-form-control,
body.page-id-271 .wlsm .wlsm-form-control,
body.page-id-276 .wlsm .wlsm-form-control,
body.page-id-281 .wlsm .wlsm-form-control,
body.page-id-265 .wlsm-form-control,
body.page-id-271 .wlsm-form-control,
body.page-id-276 .wlsm-form-control,
body.page-id-281 .wlsm-form-control,
body.page-id-265 .wlsm-shortcode-entity .wlsm-form-control,
body.page-id-271 .wlsm-shortcode-entity .wlsm-form-control,
body.page-id-276 .wlsm-shortcode-entity .wlsm-form-control,
body.page-id-281 .wlsm-shortcode-entity .wlsm-form-control {
    background-color: #f0f9ff !important;
    border: 2px solid #e0f2fe !important;
    border-radius: var(--teknaf-radius) !important;
    color: #0c4a6e !important;
}

body.page-id-265 .wlsm .wlsm-form-control:focus,
body.page-id-271 .wlsm .wlsm-form-control:focus,
body.page-id-276 .wlsm .wlsm-form-control:focus,
body.page-id-281 .wlsm .wlsm-form-control:focus,
body.page-id-265 .wlsm-form-control:focus,
body.page-id-271 .wlsm-form-control:focus,
body.page-id-276 .wlsm-form-control:focus,
body.page-id-281 .wlsm-form-control:focus {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15) !important;
    background-color: #ffffff !important;
}

body.page-id-265 .wlsm .wlsm-btn,
body.page-id-271 .wlsm .wlsm-btn,
body.page-id-276 .wlsm .wlsm-btn,
body.page-id-281 .wlsm .wlsm-btn,
body.page-id-265 .wlsm .button,
body.page-id-271 .wlsm .button,
body.page-id-276 .wlsm .button,
body.page-id-281 .wlsm .button,
body.page-id-265 .wlsm button.button,
body.page-id-271 .wlsm button.button,
body.page-id-276 .wlsm button.button,
body.page-id-281 .wlsm button.button,
body.page-id-265 .wlsm-shortcode-entity .wlsm-btn,
body.page-id-271 .wlsm-shortcode-entity .wlsm-btn,
body.page-id-276 .wlsm-shortcode-entity .wlsm-btn,
body.page-id-281 .wlsm-shortcode-entity .wlsm-btn,
body.page-id-265 .wlsm-shortcode-entity .button,
body.page-id-271 .wlsm-shortcode-entity .button,
body.page-id-276 .wlsm-shortcode-entity .button,
body.page-id-281 .wlsm-shortcode-entity .button {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--teknaf-radius) !important;
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3) !important;
}

body.page-id-265 .wlsm .wlsm-btn:hover,
body.page-id-271 .wlsm .wlsm-btn:hover,
body.page-id-276 .wlsm .wlsm-btn:hover,
body.page-id-281 .wlsm .wlsm-btn:hover,
body.page-id-265 .wlsm .button:hover,
body.page-id-271 .wlsm .button:hover,
body.page-id-276 .wlsm .button:hover,
body.page-id-281 .wlsm .button:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4) !important;
}

body.page-id-265 .wlsm .wlsm-header-title span,
body.page-id-271 .wlsm .wlsm-header-title span,
body.page-id-276 .wlsm .wlsm-header-title span,
body.page-id-281 .wlsm .wlsm-header-title span,
body.page-id-265 .wlsm-st-main-title,
body.page-id-271 .wlsm-st-main-title,
body.page-id-276 .wlsm-st-main-title,
body.page-id-281 .wlsm-st-main-title {
    border-color: #0ea5e9 !important;
    color: #0c4a6e !important;
}

body.page-id-265 .wlsm-navigation-links li a:hover,
body.page-id-271 .wlsm-navigation-links li a:hover,
body.page-id-276 .wlsm-navigation-links li a:hover,
body.page-id-281 .wlsm-navigation-links li a:hover,
body.page-id-265 .wlsm-navigation-links li a.active,
body.page-id-271 .wlsm-navigation-links li a.active,
body.page-id-276 .wlsm-navigation-links li a.active,
body.page-id-281 .wlsm-navigation-links li a.active {
    background-color: #0ea5e9 !important;
    color: #ffffff !important;
    border-color: #0ea5e9 !important;
}

body.page-id-265 .wlsm table thead th,
body.page-id-271 .wlsm table thead th,
body.page-id-276 .wlsm table thead th,
body.page-id-281 .wlsm table thead th,
body.page-id-265 .wlsm-shortcode-entity table thead th,
body.page-id-271 .wlsm-shortcode-entity table thead th,
body.page-id-276 .wlsm-shortcode-entity table thead th,
body.page-id-281 .wlsm-shortcode-entity table thead th {
    background-color: #0c4a6e !important;
}

body.page-id-265 .wlsm table tbody tr:hover td,
body.page-id-271 .wlsm table tbody tr:hover td,
body.page-id-276 .wlsm table tbody tr:hover td,
body.page-id-281 .wlsm table tbody tr:hover td {
    background-color: #f0f9ff !important;
}

/* ============================================================
   25. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .wlsm .wlsm-row {
        flex-direction: column !important;
    }
    
    .wlsm .wlsm-col-4,
    .wlsm .wlsm-col-8,
    .wlsm-col-4,
    .wlsm-col-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
            }

    .wlsm table,
    .wlsm-container table {
        font-size: 0.8125rem !important;
    }
    
    .wlsm table thead th,
    .wlsm-container table thead th {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.75rem !important;
    }
    
    .wlsm table tbody td,
    .wlsm-container table tbody td {
        padding: 0.75rem 0.875rem !important;
    }

    .wlsm .wlsm-btn,
    .wlsm-btn,
    .wlsm .button,
    .wlsm button.button,
    .wlsm input[type="submit"] {
        width: 100% !important;
        min-width: unset !important;
    }

    .wlsm-header-title {
        font-size: 1.25rem !important;
    }

    .wlsm-st-main-title {
        font-size: 1.25rem !important;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .wlsm .wlsm-form-control,
    .wlsm-form-control,
    #wlsm-login-form .input {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.875rem !important;
    }

    .wlsm .wlsm-btn,
    .wlsm-btn,
    .wlsm .button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }

    .wlsm table thead th {
        font-size: 0.6875rem !important;
        padding: 0.625rem 0.5rem !important;
    }

    .wlsm table tbody td {
        font-size: 0.8125rem !important;
        padding: 0.625rem 0.5rem !important;
    }
}

/* ============================================================
   26. SMOOTH ANIMATIONS
   ============================================================ */

@keyframes teknaf-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wlsm-container,
.wlsm,
.wlsm-shortcode-entity {
    animation: teknaf-fadeIn 0.4s ease-out !important;
}

/* ============================================================
   27. SCROLLBAR STYLING (for overflow containers)
   ============================================================ */

.wlsm::-webkit-scrollbar,
.wlsm-container::-webkit-scrollbar {
    height: 6px !important;
}

.wlsm::-webkit-scrollbar-track,
.wlsm-container::-webkit-scrollbar-track {
    background: var(--teknaf-gray-100) !important;
    border-radius: 10px !important;
}

.wlsm::-webkit-scrollbar-thumb,
.wlsm-container::-webkit-scrollbar-thumb {
    background: var(--teknaf-gray-300) !important;
    border-radius: 10px !important;
}

.wlsm::-webkit-scrollbar-thumb:hover,
.wlsm-container::-webkit-scrollbar-thumb:hover {
    background: var(--teknaf-navy) !important;
}

/* ============================================================
   28. ADDITIONAL GLOBAL FIXES
   ============================================================ */

/* Fix the "form-container" class used in some page templates */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"],
.form-container input[type="number"],
.form-container input[type="tel"],
.form-container select,
.form-container textarea {
    font-family: var(--teknaf-font-sans) !important;
}

/* Fix for save-class button in plugin */
#wlsm-save-class-btn {
    background-color: var(--teknaf-gold) !important;
    color: var(--teknaf-navy) !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--teknaf-transition) !important;
}

#wlsm-save-class-btn:hover {
    background-color: var(--teknaf-navy) !important;
    color: var(--teknaf-white) !important;
}

/* ============================================================
   29. POST-LOGIN STUDENT DASHBOARD (PREMIUM REDESIGN)
   Design System: Navy (#002147) / Gold (#FFD700) / Emerald / Slate
   ============================================================ */

/* --- CRITICAL: Hide rogue plugin navigation header that created the dark grey block --- */
.wlsm-container .wlsm-navigation-header,
.wlsm-container-student .wlsm-navigation-header,
.wlsm-container #wlsm-menu-toggle,
.wlsm-container .wlsm-menu-btn,
.wlsm-container .wlsm-overlay {
    display: none !important;
}

/* --- Student Top User Bar (Welcome & Logout) --- */
.wlsm-logged-in-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    padding: 1.125rem 1.75rem !important;
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    border-radius: 1.25rem !important;
    margin-bottom: 2rem !important;
    border: 1px solid rgba(255, 215, 0, 0.25) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 33, 71, 0.25), 0 4px 6px -2px rgba(0, 33, 71, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wlsm-logged-in-info::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%) !important;
}

.wlsm-logged-in-info,
.wlsm-logged-in-info .wlsm-logged-in-text {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    letter-spacing: -0.01em !important;
}

.wlsm-logged-in-info a.wlsm-logout-link {
    color: #002147 !important;
    background-color: #FFD700 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.wlsm-logged-in-info a.wlsm-logout-link:hover {
    background-color: #ffffff !important;
    color: #dc2626 !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* --- Dashboard Main Container Layout (2-Column Grid) --- */
.wlsm-container.wlsm-container-student {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.wlsm-container.wlsm-container-student > input#wlsm-menu-toggle,
.wlsm-container.wlsm-container-student > input.wlsm-menu-btn,
.wlsm-container.wlsm-container-student > .wlsm-overlay,
.wlsm-container.wlsm-container-student > .wlsm-navigation-header {
    display: none !important;
}

@media (min-width: 1024px) {
    .wlsm-container.wlsm-container-student > label.wlsm-menu-label,
    label.wlsm-menu-label {
        display: none !important;
    }

    .wlsm-container.wlsm-container-student {
        display: grid !important;
        grid-template-columns: 280px 1fr !important;
        align-items: start !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links {
        grid-column: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border-radius: 1.25rem !important;
        border: 1px solid #e2e8f0 !important;
        padding: 1.25rem 0.875rem !important;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
        position: sticky !important;
        top: 90px !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        scrollbar-width: thin !important;
        scrollbar-color: #cbd5e1 transparent !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-content-area {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* --- Sidebar Navigation Styling --- */
.wlsm-container .wlsm-navigation-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 1.25rem 0.875rem !important;
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.375rem !important;
}

@media (min-width: 1024px) {
    .wlsm-container .wlsm-navigation-links {
        position: sticky !important;
        top: 90px !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        scrollbar-width: thin !important;
        scrollbar-color: #cbd5e1 transparent !important;
    }

    .wlsm-container .wlsm-navigation-links::-webkit-scrollbar {
        width: 5px !important;
    }

    .wlsm-container .wlsm-navigation-links::-webkit-scrollbar-thumb {
        background: #cbd5e1 !important;
        border-radius: 10px !important;
    }
}

.wlsm-navigation-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wlsm-navigation-links li a,
a.wlsm-navigation-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0.75rem !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: -0.01em !important;
    position: relative !important;
}

.wlsm-navigation-links li a i,
a.wlsm-navigation-link i {
    width: 20px !important;
    font-size: 1rem !important;
    text-align: center !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
}

.wlsm-navigation-links li a:hover,
.wlsm-navigation-links li a:focus,
a.wlsm-navigation-link:hover,
a.wlsm-navigation-link:focus {
    color: #002147 !important;
    background-color: #f1f5f9 !important;
    box-shadow: none !important;
    transform: translateX(4px) !important;
}

.wlsm-navigation-links li a:hover i,
a.wlsm-navigation-link:hover i {
    color: #002147 !important;
    transform: scale(1.1) !important;
}

.wlsm-navigation-links li a.active,
a.wlsm-navigation-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.25) !important;
    border-left: 4px solid #FFD700 !important;
    transform: none !important;
}

.wlsm-navigation-links li a.active i,
a.wlsm-navigation-link.active i {
    color: #FFD700 !important;
}

/* --- Content Area (Main Panel) --- */
.wlsm-content-area,
.wlsm-content-area.wlsm-section-dashboard,
.wlsm-content-area.wlsm-student-dashboard,
.wlsm-content-area[class*="wlsm-section-"] {
    background-color: #ffffff !important;
    border-radius: 1.25rem !important;
    padding: 2rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
    min-height: auto !important;
    position: relative !important;
    min-width: 0 !important;
}

/* --- Main Section Titles --- */
.wlsm-st-main-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    padding-bottom: 1rem !important;
    margin-bottom: 2rem !important;
    border-bottom: 3px solid #FFD700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    letter-spacing: -0.02em !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

/* --- Student Profile Card (Executive Overview Redesign) --- */
.wlsm-profile-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.5rem !important;
    padding: 0 !important;
    margin-bottom: 2.25rem !important;
    box-shadow: 0 10px 30px -5px rgba(0, 33, 71, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
    position: relative !important;
    scroll-margin-top: 100px !important;
}

/* Top Hero Header Banner */
.wlsm-profile-card .wlsm-profile-header,
.wlsm-profile-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.75rem !important;
    background: linear-gradient(135deg, #002147 0%, #062b5c 55%, #001938 100%) !important;
    padding: 2.25rem 2.5rem !important;
    margin: 0 !important;
    border-bottom: 3.5px solid #FFD700 !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Ambient Glow Highlight */
.wlsm-profile-card .wlsm-profile-header::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 240px !important;
    height: 240px !important;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.16) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

/* Official Institutional Watermark Pill */
.wlsm-profile-card .wlsm-profile-header::after {
    content: '' !important;
    display: none !important;
    position: absolute !important;
    right: 2.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    color: #FFD700 !important;
    background: rgba(0, 33, 71, 0.65) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 9999px !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    pointer-events: none !important;
}

/* Avatar Container */
.wlsm-profile-card .wlsm-student-photo-container {
    margin: 0 !important;
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.wlsm-profile-card .wlsm-student-photo-default,
.wlsm-student-photo-default {
    width: 86px !important;
    height: 86px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0a3a78 0%, #001938 100%) !important;
    color: #FFD700 !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 3.5px #FFD700 !important;
    border: none !important;
    font-family: 'Montserrat', sans-serif !important;
}

.wlsm-profile-card .wlsm-student-photo-container img,
.wlsm-student-photo-container img {
    width: 86px !important;
    height: 86px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 3.5px #FFD700 !important;
    border: none !important;
}

/* Student Meta Info */
.wlsm-profile-card .wlsm-student-meta {
    margin: 0 !important;
    flex: 1 1 auto !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.wlsm-profile-card .wlsm-student-meta h4,
.wlsm-profile-card .wlsm-student-meta h4 strong,
.wlsm-student-meta h4 {
    margin: 0 !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.wlsm-profile-card .wlsm-student-meta .wlsm-badge,
.wlsm-student-meta .wlsm-badge {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    color: #FFD700 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    letter-spacing: 0.05em !important;
}

.wlsm-profile-card .wlsm-student-meta .wlsm-badge::after {
    content: 'Active Student' !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    padding: 2px 10px !important;
    border-radius: 9999px !important;
    margin-top: 2px !important;
}

/* Profile Body */
.wlsm-profile-card .wlsm-profile-body {
    padding: 2.25rem 2.5rem !important;
    background: #ffffff !important;
}

/* Grid of Details - Strict 2-column balanced layout */
.wlsm-profile-card ul.wlsm-st-details-list,
ul.wlsm-st-details-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
}

/* Micro-Cards for Details */
.wlsm-profile-card ul.wlsm-st-details-list li,
ul.wlsm-st-details-list li {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    padding: 1.15rem 1.4rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-left: 4px solid #002147 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.wlsm-profile-card ul.wlsm-st-details-list li:hover,
ul.wlsm-st-details-list li:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    border-left-color: #FFD700 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 33, 71, 0.06) !important;
}

.wlsm-profile-card span.wlsm-st-details-list-key,
span.wlsm-st-details-list-key {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #64748b !important;
    margin: 0 !important;
    display: block !important;
}

.wlsm-profile-card span.wlsm-st-details-list-value,
span.wlsm-st-details-list-value {
    font-size: 1.075rem !important;
    font-weight: 700 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* Full-width ID Card action banner */
.wlsm-profile-card ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card),
ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card) {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #fefce8 0%, #fffdf0 100%) !important;
    border: 1px solid #fef08a !important;
    border-left: 5px solid #FFD700 !important;
    padding: 1.35rem 1.75rem !important;
    margin-top: 0.5rem !important;
}

.wlsm-profile-card ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card) .wlsm-st-details-list-key,
ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card) .wlsm-st-details-list-key {
    font-size: 0.85rem !important;
    color: #854d0e !important;
    letter-spacing: 0.06em !important;
}

.wlsm-profile-card ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card) .wlsm-st-details-list-key::after,
ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card) .wlsm-st-details-list-key::after {
    content: 'Issued by Teknaf Govt. Technical School & College' !important;
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #a16207 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-top: 0.25rem !important;
}

/* --- Print Buttons (ID Card, Timetable, Admit Card) --- */
a.wlsm-st-print-id-card,
a.wlsm-st-print-class-time-table,
a.wlsm-st-print-exam-time-table,
a.wlsm-st-print-exam-admit-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1.25rem !important;
    background: #FFD700 !important;
    color: #002147 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3) !important;
    border: none !important;
    width: fit-content !important;
}

a.wlsm-st-print-id-card:hover,
a.wlsm-st-print-class-time-table:hover,
a.wlsm-st-print-exam-time-table:hover,
a.wlsm-st-print-exam-admit-card:hover {
    background-color: #002147 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0, 33, 71, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* --- Stats & Summary Cards Layout (Trio) --- */
.wlsm-col-main {
    width: 100% !important;
}

.wlsm-student-dashboard .wlsm-trio,
.wlsm-trio {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1.75rem !important;
}

.wlsm-card.wlsm-stats-card,
.wlsm-student-dashboard .wlsm-stats-card {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    margin: 0 0 1.75rem 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.wlsm-stats-headerr,
.wlsm-stats-header {
    background: #f8fafc !important;
    padding: 1.25rem 1.75rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wlsm-stats-headerr h4,
.wlsm-stats-header h4 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.wlsm-stats-headerr h4 strong,
.wlsm-stats-header h4 strong {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 50px !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    border: 1px solid #bae6fd !important;
}

.wlsm-stats-content {
    padding: 1.75rem !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --- Attendance Progress & Metrics --- */
.wlsm-progress.wlsm-progress-segmented {
    height: 14px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background-color: #e2e8f0 !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06) !important;
}

.wlsm-attendance-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
}

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

.wlsm-attendance-stat {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.875rem 1rem !important;
    border-radius: 0.875rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
}

.wlsm-attendance-stat.present {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}

.wlsm-attendance-stat.absent {
    background: #fff1f2 !important;
    color: #9f1239 !important;
    border: 1px solid #fecdd3 !important;
}

.wlsm-attendance-stat.late {
    background: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}

.wlsm-attendance-stat.holiday {
    background: #f0f9ff !important;
    color: #075985 !important;
    border: 1px solid #bae6fd !important;
}

/* --- Section Headings (Notices, Calendar) --- */
.wlsm-section-heading h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-bottom: 0.75rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1.25rem !important;
}

/* --- Tables Across All Subpages --- */
.wlsm-container table.table,
.wlsm-container .table,
.wlsm-content-area table,
.wlsm-table,
.wlsm-table-compact,
.wlsm-student-pending-invoices-table,
.wlsm-st-attendance-table,
.wlsm-st-class-time-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.875rem !important;
    overflow: hidden !important;
    background: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 1.5rem !important;
}

.wlsm-container table thead th,
.wlsm-content-area table thead th,
.wlsm-table thead th,
.wlsm-student-pending-invoices-table thead th,
.wlsm-st-attendance-table thead th {
    background-color: #002147 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 1rem 1.125rem !important;
    border: none !important;
    border-bottom: 2px solid #FFD700 !important;
    white-space: nowrap !important;
}

.wlsm-container table tbody td,
.wlsm-content-area table tbody td,
.wlsm-table tbody td {
    padding: 0.875rem 1.125rem !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    color: #334155 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
}

.wlsm-container table tbody tr:hover,
.wlsm-content-area table tbody tr:hover {
    background-color: #f8fafc !important;
}

/* Highlighted summary rows */
tr.wlsm-font-bold td {
    background-color: #f8fafc !important;
    font-weight: 700 !important;
    color: #002147 !important;
    border-top: 2px solid #e2e8f0 !important;
}

/* --- Buttons in Tables & Content (Pay Now, Bulk, Actions) --- */
.btn.wlsm-view-student-pending-invoice,
a.wlsm-view-student-pending-invoice {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #ffffff !important;
    padding: 0.45rem 1rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    transition: all 0.2s ease !important;
}

.btn.wlsm-view-student-pending-invoice:hover,
a.wlsm-view-student-pending-invoice:hover {
    background: #002147 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 33, 71, 0.3) !important;
    transform: translateY(-1px) !important;
}

.btn.wlsm-view-student-pending-invoice-bulk,
a.wlsm-view-student-pending-invoice-bulk {
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    color: #ffffff !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.btn.wlsm-view-student-pending-invoice-bulk:hover,
a.wlsm-view-student-pending-invoice-bulk:hover {
    background: #FFD700 !important;
    color: #002147 !important;
    transform: translateY(-2px) !important;
}

/* --- Invoice Detail & Payment Card --- */
.wlsm-student-pending-invoice {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem !important;
    padding: 2rem !important;
    margin-top: 2rem !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
}

.wlsm-student-pending-invoice h3,
.wlsm-student-pending-invoice h4 {
    color: #002147 !important;
    font-weight: 800 !important;
    font-family: 'Montserrat', sans-serif !important;
}

button.wlsm-pay-invoice-btn,
.wlsm-student-pending-invoice input[type="submit"],
.wlsm-student-pending-invoice button[type="submit"],
.wlsm-student-pending-invoice .btn-primary {
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    color: #ffffff !important;
    padding: 0.875rem 2.25rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 6px 20px rgba(0, 33, 71, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

button.wlsm-pay-invoice-btn:hover,
.wlsm-student-pending-invoice input[type="submit"]:hover,
.wlsm-student-pending-invoice button[type="submit"]:hover {
    background: #FFD700 !important;
    color: #002147 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* --- School Calendar Widget --- */
.wlsm-dashboard-calendar-widget {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 1.75rem !important;
}

.wlsm-cal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.wlsm-cal-month-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.wlsm-cal-legend {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.wlsm-cal-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 4px !important;
}

.wlsm-cal-table th {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    text-align: center !important;
    padding: 0.5rem !important;
}

.wlsm-cal-day {
    text-align: center !important;
    padding: 0.5rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s !important;
}

.wlsm-day-number {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-weight: 600 !important;
    color: #334155 !important;
    font-size: 0.875rem !important;
}

.wlsm-cal-today .wlsm-day-number {
    background: #FFD700 !important;
    color: #002147 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4) !important;
}

.wlsm-cal-footer {
    margin-top: 1.5rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f5f9 !important;
    text-align: right !important;
}

.wlsm-btn-view-calendar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1.25rem !important;
    background: linear-gradient(135deg, #002147, #082f63) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.wlsm-btn-view-calendar:hover {
    background: #FFD700 !important;
    color: #002147 !important;
    transform: translateX(3px) !important;
}

/* ============================================================
   NEW ENHANCEMENTS: SUBJECTS, HOMEWORK, SETTINGS, EMPTY STATES
   ============================================================ */

/* --- Subjects Grid & Cards (Study Materials & Homework) --- */
.wlsm-subjects-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 1.25rem !important;
}

.wlsm-subject-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem !important;
    padding: 1.5rem !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 160px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wlsm-subject-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
}

.wlsm-subject-card:hover {
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 12px 24px -6px rgba(0, 33, 71, 0.12), 0 4px 6px -2px rgba(0, 33, 71, 0.04) !important;
}

.wlsm-subject-card:hover::before {
    background: linear-gradient(90deg, #FFD700, #002147) !important;
}

.wlsm-subject-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
}

.wlsm-subject-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 0.875rem !important;
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    color: #FFD700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 33, 71, 0.15) !important;
    transition: all 0.2s ease !important;
}

.wlsm-subject-card:hover .wlsm-subject-icon {
    transform: scale(1.08) !important;
    background: linear-gradient(135deg, #FFD700, #f59e0b) !important;
    color: #002147 !important;
}

.wlsm-subject-title-wrapper {
    min-width: 0 !important;
    flex: 1 !important;
}

.wlsm-subject-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.wlsm-subject-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 1.25rem !important;
    padding-top: 0.875rem !important;
    border-top: 1px solid #f1f5f9 !important;
    font-size: 0.8125rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

.wlsm-subject-type {
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 50px !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
    letter-spacing: 0.05em !important;
}

/* --- Homework Tabs --- */
.wlsm-homework-tabs {
    display: flex !important;
    gap: 0.75rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    margin-bottom: 2rem !important;
    padding-bottom: 0.75rem !important;
    flex-wrap: wrap !important;
}

.wlsm-homework-tab {
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 0.625rem 1.25rem !important;
    text-decoration: none !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.wlsm-homework-tab:hover {
    color: #002147 !important;
    background: #f1f5f9 !important;
}

.wlsm-homework-tab.active {
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    color: #ffffff !important;
    border-color: #002147 !important;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2) !important;
}

/* --- Lesson Breadcrumbs --- */
.wlsm-lessons-breadcrumb {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 1.25rem !important;
    padding: 0.75rem 1.25rem !important;
    background: #f8fafc !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
}

.wlsm-lessons-breadcrumb a {
    color: #002147 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.wlsm-lessons-breadcrumb .current-page {
    color: #002147 !important;
    font-weight: 700 !important;
}

/* --- Form Controls in Settings & Attendance Filters --- */
.wlsm-form-control-select,
.wlsm-settings-textarea,
#wlsm_attendance_year_month,
#wlsm-save-settings-form input,
#wlsm-save-settings-form select,
#wlsm-save-settings-form textarea {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 0.625rem !important;
    padding: 0.625rem 1rem !important;
    font-size: 0.9375rem !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wlsm-form-control-select:focus,
.wlsm-settings-textarea:focus,
#wlsm-save-settings-form input:focus,
#wlsm-save-settings-form textarea:focus {
    border-color: #002147 !important;
    box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.12) !important;
    outline: none !important;
}

.wlsm-form-label {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #475569 !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
}

.wlsm-settings-section {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    padding: 1.75rem !important;
    margin-bottom: 1.75rem !important;
}

.wlsm-settings-section-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.625rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.wlsm-settings-subsection-title {
    font-size: 0.9375rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px dashed #cbd5e1 !important;
}

.wlsm-settings-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
}

.wlsm-settings-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
}

@media (max-width: 768px) {
    .wlsm-settings-grid-3,
    .wlsm-settings-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

.wlsm-settings-username-display {
    padding: 0.625rem 1.25rem !important;
    background: #e2e8f0 !important;
    border-radius: 0.625rem !important;
    font-weight: 700 !important;
    color: #002147 !important;
    display: inline-block !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9375rem !important;
}

/* Save settings button */
#wlsm-save-settings-btn,
button#wlsm-save-settings-btn {
    background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
    color: #ffffff !important;
    padding: 0.75rem 2.25rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

#wlsm-save-settings-btn:hover {
    background: #FFD700 !important;
    color: #002147 !important;
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* --- Alerts & Notifications --- */
.wlsm-alert {
    padding: 1.25rem 1.5rem !important;
    border-radius: 1rem !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.wlsm-alert-warning {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-left: 5px solid #f59e0b !important;
    color: #92400e !important;
}

.wlsm-alert-info {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 5px solid #0284c7 !important;
    color: #075985 !important;
}

.wlsm-alert-success {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 5px solid #16a34a !important;
    color: #166534 !important;
}

.wlsm-alert-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 5px solid #dc2626 !important;
    color: #991b1b !important;
}

/* --- Premium Empty State Component --- */
.teknaf-empty-state-card {
    background: #f8fafc !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 1.25rem !important;
    padding: 3.5rem 2rem !important;
    text-align: center !important;
    margin: 1.5rem 0 !important;
}

.teknaf-empty-state-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: #e2e8f0 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.75rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.teknaf-empty-state-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin: 0 0 0.5rem 0 !important;
}

.teknaf-empty-state-desc {
    font-size: 0.875rem !important;
    color: #64748b !important;
    margin: 0 !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.5 !important;
}

/* --- Modals & Dialogs (ID Card Print & Alerts) --- */
.jconfirm.jconfirm-light .jconfirm-box,
.jconfirm .jconfirm-box {
    border-radius: 1.25rem !important;
    padding: 2rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid #e2e8f0 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.jconfirm .jconfirm-title-c {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    padding-bottom: 0.75rem !important;
}

.jconfirm-buttons button.btn-default,
.jconfirm-buttons button {
    background: linear-gradient(135deg, #FFD700, #F59E0B) !important;
    color: #002147 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 0.625rem 1.5rem !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
    transition: all 0.2s ease !important;
}

.jconfirm-buttons button:hover {
    background: #002147 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 33, 71, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* ============================================================
   30. DASHBOARD RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 1023px) {
    .wlsm-container.wlsm-container-student {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    /* Dedicated In-Page Dashboard Hamburger Button */
    .wlsm-container.wlsm-container-student > label.wlsm-menu-label,
    label.wlsm-menu-label {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
        color: #ffffff !important;
        padding: 0.875rem 1.25rem !important;
        border-radius: 1rem !important;
        cursor: pointer !important;
        user-select: none !important;
        border: 1.5px solid rgba(255, 215, 0, 0.35) !important;
        box-shadow: 0 6px 16px rgba(0, 33, 71, 0.18) !important;
        margin-bottom: 0.5rem !important;
        transition: all 0.25s ease !important;
        position: relative !important;
    }

    label.wlsm-menu-label:hover {
        box-shadow: 0 8px 22px rgba(0, 33, 71, 0.28) !important;
        border-color: #FFD700 !important;
        transform: translateY(-1px) !important;
    }

    /* Left Text & Hamburger Icon */
    label.wlsm-menu-label::before {
        content: '☰  Dashboard Navigation' !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 0.925rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: -0.01em !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
    }

    /* Right Action Pill Badge */
    label.wlsm-menu-label::after {
        content: 'Browse Menus ▾' !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        color: #002147 !important;
        background: #FFD700 !important;
        padding: 0.35rem 0.85rem !important;
        border-radius: 9999px !important;
        letter-spacing: 0.04em !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.25s ease !important;
    }

    /* Active / Checked State */
    input#wlsm-menu-toggle:checked ~ label.wlsm-menu-label::after {
        content: 'Close Menu ✕' !important;
        background: #ef4444 !important;
        color: #ffffff !important;
    }

    input#wlsm-menu-toggle:checked ~ label.wlsm-menu-label {
        border-color: #FFD700 !important;
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25) !important;
    }

    label.wlsm-menu-label .wlsm-menu-icon {
        display: none !important;
    }

    /* Dashboard Navigation Links Dropdown / Drawer */
    .wlsm-container.wlsm-container-student > .wlsm-navigation-links {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        width: 100% !important;
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 1.25rem !important;
        background: #ffffff !important;
        box-shadow: 0 12px 30px rgba(0, 33, 71, 0.12) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transform: translateY(-8px) !important;
        z-index: 40 !important;
        box-sizing: border-box !important;
    }

    /* When Checked: Expanded Navigation Menu */
    input#wlsm-menu-toggle:checked ~ .wlsm-navigation-links {
        max-height: 600px !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow-y: auto !important;
        margin-bottom: 1.5rem !important;
        padding: 0.875rem !important;
        transform: translateY(0) !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* Tablet (768px - 1023px): 2-Column Grid inside Dropdown */
    @media (min-width: 768px) {
        input#wlsm-menu-toggle:checked ~ .wlsm-navigation-links {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 0.65rem !important;
        }
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links li,
    .wlsm-navigation-links li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links li a,
    .wlsm-navigation-links li a {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 0.75rem !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links li a:hover,
    .wlsm-navigation-links li a:hover {
        background: #eff6ff !important;
        color: #002147 !important;
        border-color: #93c5fd !important;
        transform: translateX(4px) !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links li a.active,
    .wlsm-navigation-links li a.active {
        background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
        color: #ffffff !important;
        border-color: #002147 !important;
        border-left: 4px solid #FFD700 !important;
        box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2) !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links li a i,
    .wlsm-navigation-links li a i {
        width: 20px !important;
        text-align: center !important;
        color: #64748b !important;
        font-size: 0.95rem !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links li a.active i,
    .wlsm-navigation-links li a.active i {
        color: #FFD700 !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-content-area,
    .wlsm-content-area,
    .wlsm-content-area.wlsm-section-dashboard,
    .wlsm-content-area.wlsm-student-dashboard,
    .wlsm-content-area[class*="wlsm-section-"] {
        padding: 1.25rem !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    @media (max-width: 767px) {
        .wlsm-profile-card .wlsm-profile-header {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            padding: 2.25rem 1.5rem !important;
            gap: 1.25rem !important;
        }

        .wlsm-profile-card .wlsm-profile-header::after {
            display: none !important;
        }

        .wlsm-profile-card .wlsm-student-meta {
            align-items: center !important;
            text-align: center !important;
        }

        .wlsm-profile-card .wlsm-student-meta .wlsm-badge {
            align-items: center !important;
        }

        .wlsm-profile-card ul.wlsm-st-details-list,
        ul.wlsm-st-details-list {
            grid-template-columns: 1fr !important;
            gap: 1rem !important;
        }

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

        .wlsm-profile-card ul.wlsm-st-details-list li:has(.wlsm-st-print-id-card) {
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 1.25rem !important;
            text-align: center !important;
        }

        .wlsm-profile-card a.wlsm-st-print-id-card {
            width: 100% !important;
        }
    }
}

@media (max-width: 640px) {
    .wlsm-logged-in-info {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
    }

    .wlsm-stats-content {
        padding: 1rem !important;
    }

    .wlsm-cal-legend {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
}

/* ============================================================
   END OF CUSTOM CSS
   ============================================================ */


/* ============================================================
   21. EXECUTIVE STYLING FOR EXAM, INQUIRY & CERTIFICATE FORMS
   ============================================================ */

/* Container wrapper styling */
.wlsm,
.wlsm-container,
#wlsm-submit-inquiry-section,
#wlsm-get-exam-time-table-section,
#wlsm-get-exam-admit-card-section,
#wlsm-get-exam-result-section,
#wlsm-get-certificate-section {
    font-family: var(--teknaf-font-sans) !important;
    color: var(--teknaf-navy) !important;
}

/* Header titles inside forms */
.wlsm .wlsm-header-title,
.wlsm-header-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: var(--teknaf-navy) !important;
    font-family: var(--teknaf-font-sans) !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid var(--teknaf-gray-200) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.wlsm .wlsm-header-title span,
.wlsm-header-title span {
    border-bottom: 3px solid var(--teknaf-gold) !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: -2px !important;
    display: inline-block !important;
}

/* Form labels */
.wlsm label,
.wlsm .wlsm-form-label,
.wlsm-form-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--teknaf-navy) !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.01em !important;
}

.wlsm .wlsm-text-danger,
.wlsm-text-danger {
    color: #dc2626 !important;
    font-weight: 700 !important;
    margin-left: 0.25rem !important;
}

/* Form inputs, selects, textareas */
.wlsm input.wlsm-form-control,
.wlsm select.wlsm-form-control,
.wlsm textarea.wlsm-form-control,
.wlsm .wlsm-form-control,
.wlsm-form-control {
    width: 100% !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1.25rem !important;
    font-size: 0.9375rem !important;
    font-family: var(--teknaf-font-sans) !important;
    color: var(--teknaf-navy) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
}

.wlsm input.wlsm-form-control:focus,
.wlsm select.wlsm-form-control:focus,
.wlsm textarea.wlsm-form-control:focus,
.wlsm .wlsm-form-control:focus,
.wlsm-form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--teknaf-gold) !important;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2) !important;
}

.wlsm select.wlsm-form-control,
select.wlsm-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002147' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1.25rem) center !important;
    background-size: 14px !important;
    padding-right: 2.75rem !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.wlsm textarea.wlsm-form-control {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Action buttons */
.wlsm button[type="submit"],
.wlsm input[type="submit"],
.wlsm .wlsm-btn,
.wlsm-btn,
#wlsm-submit-inquiry-btn,
#wlsm-get-exam-time-table-btn,
#wlsm-get-exam-admit-card-btn,
#wlsm-get-exam-result-btn,
#wlsm-get-certificate-btn,
.wlsm .btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.625rem !important;
    padding: 0.875rem 2.25rem !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    font-family: var(--teknaf-font-sans) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--teknaf-navy) !important;
    background: linear-gradient(135deg, #FFD700 0%, #F5C500 100%) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 14px 0 rgba(255, 215, 0, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    text-decoration: none !important;
    min-width: 180px !important;
}

.wlsm button[type="submit"]:hover,
.wlsm input[type="submit"]:hover,
.wlsm .wlsm-btn:hover,
.wlsm-btn:hover,
#wlsm-submit-inquiry-btn:hover,
#wlsm-get-exam-time-table-btn:hover,
#wlsm-get-exam-admit-card-btn:hover,
#wlsm-get-exam-result-btn:hover,
#wlsm-get-certificate-btn:hover,
.wlsm .btn-primary:hover {
    background: var(--teknaf-navy) !important;
    color: #ffffff !important;
    border-color: var(--teknaf-navy) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px 0 rgba(0, 33, 71, 0.3) !important;
}

/* Result cards, timetables, and tables */
#wlsm-view-exam-time-table,
#wlsm-view-exam-admit-card,
#wlsm-view-exam-result,
#wlsm-view-certificate,
.wlsm-print-exam-time-table,
.wlsm-print-admit-card,
.wlsm-print-certificate {
    margin-top: 2rem !important;
    padding: 1.5rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
}

.wlsm table,
.wlsm .table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin: 1.25rem 0 !important;
}

.wlsm table thead th,
.wlsm .table thead th {
    background-color: var(--teknaf-navy) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 1rem 1.25rem !important;
    border: none !important;
    text-align: left !important;
}

.wlsm table tbody td,
.wlsm .table tbody td {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.875rem !important;
    color: var(--teknaf-navy) !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.wlsm table tbody tr:nth-child(even) td,
.wlsm .table tbody tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

.wlsm table tbody tr:hover td,
.wlsm .table tbody tr:hover td {
    background-color: #f1f5f9 !important;
}

/* Alert styling inside forms */
.wlsm .alert,
.wlsm-alert {
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin-bottom: 1.25rem !important;
    border-left: 4px solid !important;
}

.wlsm .alert-danger {
    background-color: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
}

.wlsm .alert-success {
    background-color: #f0fdf4 !important;
    border-color: #22c55e !important;
    color: #166534 !important;
}

.wlsm .alert-info {
    background-color: #f0f9ff !important;
    border-color: #0ea5e9 !important;
    color: #075985 !important;
}

/* Print controls */
.wlsm a.wlsm-print-admit-card,
.wlsm a.wlsm-print-exam-time-table,
.wlsm a.wlsm-print-certificate {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background-color: var(--teknaf-gold) !important;
    color: var(--teknaf-navy) !important;
    font-weight: 700 !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin-bottom: 1rem !important;
}

.wlsm a.wlsm-print-admit-card:hover,
.wlsm a.wlsm-print-exam-time-table:hover,
.wlsm a.wlsm-print-certificate:hover {
    background-color: var(--teknaf-navy) !important;
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wlsm .wlsm-row {
        flex-direction: column !important;
    }
    
    .wlsm .wlsm-col-4,
    .wlsm-col-4,
    .wlsm .wlsm-col-8,
    .wlsm-col-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .wlsm button[type="submit"],
    .wlsm input[type="submit"],
    .wlsm .wlsm-btn {
        width: 100% !important;
    }
}


/* ============================================================
   35. COMPREHENSIVE DASHBOARD PERFECTION (DESKTOP, TABLET, MOBILE)
   ============================================================ */

/* Seamless Full-Width Container when Logged In */
body:has(.wlsm-logged-in-info) #student-portal-info-panel,
body:has(.wlsm-logged-in-info) #student-auth-header,
body.is-student-logged-in #student-portal-info-panel,
body.is-student-logged-in #student-auth-header,
body:has(.wlsm-logged-in-info) #parent-portal-info-panel,
body:has(.wlsm-logged-in-info) #parent-auth-header,
body.is-student-logged-in #parent-portal-info-panel,
body.is-student-logged-in #parent-auth-header {
    display: none !important;
}

body:has(.wlsm-logged-in-info) #student-form-column,
body.is-student-logged-in #student-form-column,
body:has(.wlsm-logged-in-info) #parent-form-column,
body.is-student-logged-in #parent-form-column {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body:has(.wlsm-logged-in-info) #student-login-grid,
body.is-student-logged-in #student-login-grid,
body:has(.wlsm-logged-in-info) #parent-login-grid,
body.is-student-logged-in #parent-login-grid {
    display: block !important;
    width: 100% !important;
}

/* Welcome Bar Perfect Styling */
.wlsm-logged-in-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #002147 0%, #062b5c 55%, #001938 100%) !important;
    border-radius: 1.25rem !important;
    border-top: 3px solid #FFD700 !important;
    padding: 1.25rem 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 33, 71, 0.25) !important;
    color: #ffffff !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.wlsm-logged-in-info a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: linear-gradient(135deg, #FFD700 0%, #F5C500 100%) !important;
    color: #002147 !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    padding: 0.65rem 1.75rem !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35) !important;
    transition: all 0.2s ease !important;
}

.wlsm-logged-in-info a:hover {
    background: #ffffff !important;
    color: #002147 !important;
    transform: translateY(-2px) !important;
}

/* Desktop Layout (1024px+) */
@media (min-width: 1024px) {
    .wlsm-container.wlsm-container-student,
    .wlsm-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    .wlsm-container.wlsm-container-student > label.wlsm-menu-label,
    label.wlsm-menu-label,
    input#wlsm-menu-toggle {
        display: none !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-navigation-links,
    .wlsm-navigation-links {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 260px !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: sticky !important;
        top: 6.5rem !important;
        gap: 0.4rem !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 1.25rem !important;
        padding: 0.85rem !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
        margin: 0 !important;
    }

    .wlsm-container.wlsm-container-student > .wlsm-content-area,
    .wlsm-content-area {
        flex: 1 1 0% !important;
        width: calc(100% - 292px) !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Tablet & Mobile Layout (<1024px) */
@media (max-width: 1023px) {
    .wlsm-container.wlsm-container-student,
    .wlsm-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    label.wlsm-menu-label {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, #002147 0%, #082f63 100%) !important;
        color: #ffffff !important;
        padding: 0.875rem 1.25rem !important;
        border-radius: 1rem !important;
        cursor: pointer !important;
        user-select: none !important;
        border: 1.5px solid rgba(255, 215, 0, 0.35) !important;
        box-shadow: 0 6px 16px rgba(0, 33, 71, 0.18) !important;
        margin-bottom: 0.5rem !important;
    }

    /* Zero-Gap Navigation Links Drawer when Closed */
    .wlsm-container.wlsm-container-student > .wlsm-navigation-links,
    .wlsm-container .wlsm-navigation-links,
    .wlsm-navigation-links {
        display: none !important;
        height: 0 !important;
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Open Navigation Links Drawer */
    input#wlsm-menu-toggle:checked ~ .wlsm-navigation-links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0.5rem !important;
        margin-bottom: 1.5rem !important;
        padding: 1rem !important;
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 1.25rem !important;
        box-shadow: 0 10px 25px -5px rgba(0, 33, 71, 0.15) !important;
    }

    @media (min-width: 768px) {
        input#wlsm-menu-toggle:checked ~ .wlsm-navigation-links {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 0.65rem !important;
        }
    }

    .wlsm-container.wlsm-container-student > .wlsm-content-area,
    .wlsm-content-area {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Calendar Table Precision Layout (No letter collisions!) */
.wlsm-dashboard-calendar-widget {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    margin-top: 2rem !important;
}

.wlsm-dashboard-calendar-widget h2 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

table.wlsm-cal-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 4px !important;
    margin: 0.75rem 0 !important;
}

table.wlsm-cal-table th {
    background: #002147 !important;
    color: #FFD700 !important;
    font-size: 0.685rem !important;
    font-weight: 800 !important;
    padding: 0.45rem 0.1rem !important;
    text-align: center !important;
    letter-spacing: 0 !important;
    border-radius: 0.35rem !important;
    border: none !important;
}

table.wlsm-cal-table td {
    padding: 0.5rem 0.1rem !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    border-radius: 0.35rem !important;
    color: #334155 !important;
    border: none !important;
}

table.wlsm-cal-table td.wlsm-cal-today {
    background: #FFD700 !important;
    color: #002147 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4) !important;
}

a.wlsm-btn-view-calendar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background: #002147 !important;
    color: #ffffff !important;
    font-size: 0.825rem !important;
    font-weight: 700 !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    margin-top: 1rem !important;
    transition: all 0.2s ease !important;
}

a.wlsm-btn-view-calendar:hover {
    background: #FFD700 !important;
    color: #002147 !important;
}

/* Noticeboard items styling */
.wlsm-section-noticeboard ul.wlsm-noticeboard-list,
ul.wlsm-noticeboard-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.wlsm-section-noticeboard ul.wlsm-noticeboard-list li,
ul.wlsm-noticeboard-list li {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #FFD700 !important;
    border-radius: 1rem !important;
    padding: 1.25rem 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
}

.wlsm-section-noticeboard ul.wlsm-noticeboard-list li:hover,
ul.wlsm-noticeboard-list li:hover {
    box-shadow: 0 6px 16px rgba(0, 33, 71, 0.08) !important;
    transform: translateY(-2px) !important;
}

.wlsm-no-notices,
.wlsm-no-record-found {
    padding: 2.5rem 1.5rem !important;
    text-align: center !important;
    color: #64748b !important;
    background-color: #f8fafc !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 1rem !important;
    font-size: 0.9375rem !important;
    margin: 1.5rem 0 !important;
    font-weight: 500 !important;
}


/* ============================================================
   36. ULTRA-COMPACT & SLEEK MOBILE DASHBOARD ENHANCEMENTS
   ============================================================ */

@media (max-width: 640px) {
    /* Compact Page Hero Banner on Mobile */
    .bg-navy.pt-44,
    .bg-navy.pt-52 {
        padding-top: 8.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    /* Compact Welcome Card */
    .wlsm-logged-in-info {
        padding: 0.875rem 1rem !important;
        gap: 0.65rem !important;
        border-radius: 1rem !important;
        margin-bottom: 1rem !important;
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .wlsm-logged-in-info .wlsm-st-photo-default,
    .wlsm-logged-in-info img {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.5rem !important;
    }

    .wlsm-logged-in-info span {
        font-size: 0.8rem !important;
    }

    .wlsm-logged-in-info a {
        padding: 0.45rem 1.25rem !important;
        font-size: 0.75rem !important;
        width: 100% !important;
        max-width: 200px !important;
    }

    /* Calendar Mobile Micro-Grid (Prevents overlap on 375px) */
    .wlsm-dashboard-calendar-widget {
        padding: 1rem 0.5rem !important;
        margin-top: 1.25rem !important;
        overflow-x: auto !important;
    }

    table.wlsm-cal-table {
        border-spacing: 2px !important;
        table-layout: fixed !important;
        width: 100% !important;
    }

    table.wlsm-cal-table th {
        font-size: 0.625rem !important;
        padding: 0.35rem 0.05rem !important;
        letter-spacing: -0.02em !important;
    }

    table.wlsm-cal-table td {
        font-size: 0.725rem !important;
        padding: 0.35rem 0.05rem !important;
    }

    .wlsm-cal-legend {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
        font-size: 0.7rem !important;
        justify-content: center !important;
    }
}

/* ============================================================
   37. EXECUTIVE ADMISSION & REGISTRATION FORM STYLING
   ============================================================ */

/* Reset Outer Shortcode Wrappers */
#wlsm-submit-registration-section,
.wlsm-admission-form-wrapper .wlsm > div,
.wlsm-admission-form-wrapper .wlsm,
#wlsm-submit-registration-section.wlsm {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.wlsm-admission-form-wrapper {
    width: 100% !important;
}

/* Hide default redundant header */
.wlsm-registration-form-header {
    display: none !important;
}

/* Modern Card Container */
.wlsm-registration-section {
    padding: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    transition: all 0.25s ease !important;
}

.wlsm-registration-section:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 30px rgba(0, 33, 71, 0.08) !important;
}

/* Sleek Light Slate Header with Gold Left Border */
.wlsm-registration-section-header {
    background: #f8fafc !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    border-left: 5px solid #FFD700 !important;
    padding: 1.1rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.wlsm-registration-section-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #002147 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
}

.wlsm-registration-section-content {
    padding: 1.75rem 1.5rem !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Grid Layout Rows: strictly 0 gap so percentage math (33.333% x 3, 50% x 2) is exact */
#wlsm-submit-registration-form .wlsm-row,
#wlsm-submit-registration-section .wlsm-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    box-sizing: border-box !important;
}

/* 1. Personal Details: 2-Column Balanced Grid (50% / 50%) */
#registration_personal_detail .wlsm-col-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
}

#registration_personal_detail #registration_city,
#registration_personal_detail .wlsm-col-4#registration_city {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* 2. Admission Details: 3-Column Balanced Grid (33.333% x 3) */
#registration_admission_detail .wlsm-col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
}

#registration_admission_detail .wlsm-row:has(#wlsm_subjects),
#registration_admission_detail .wlsm-form-group:has(#wlsm_subjects) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* 3. Parent Details: 3-Column Balanced Grid (33.333% x 3) */
#registration_parent_detail .wlsm-col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
}

/* 4. Login Details (Student & Parent): Interactive Checkbox Toggle Card */
#registration_student_login .wlsm-col-12,
#registration_parent_login .wlsm-col-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

#registration_student_login .wlsm-form-check,
#registration_parent_login .wlsm-form-check {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#registration_student_login .wlsm-form-check:hover,
#registration_parent_login .wlsm-form-check:hover {
    background: #f1f5f9 !important;
    border-color: #002147 !important;
}

#registration_student_login .wlsm-form-check-input,
#registration_parent_login .wlsm-form-check-input {
    width: 20px !important;
    height: 20px !important;
    accent-color: #002147 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

#registration_student_login .wlsm-form-check-label,
#registration_parent_login .wlsm-form-check-label {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #002147 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

#registration_student_login .wlsm-student-new-user .wlsm-col-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

#registration_parent_login .wlsm-parent-new-user .wlsm-col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

/* Form Groups & Labels */
#wlsm-submit-registration-form .wlsm-form-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    margin-bottom: 1.35rem !important;
    box-sizing: border-box !important;
}

#wlsm-submit-registration-form label {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 0.45rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.825rem !important;
    color: #334155 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
}

#wlsm-submit-registration-form label .wlsm-important {
    color: #ef4444 !important;
    font-weight: 700 !important;
    margin-right: 2px !important;
}

/* Modern Gender Radio Group */
#registration_gender .wlsm-gender-options {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    height: 48px !important;
    padding: 0 1.25rem !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 0.625rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#registration_gender .wlsm-gender-options .wlsm-form-check {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    margin: 0 !important;
}

#registration_gender .wlsm-gender-options input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #002147 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

#registration_gender .wlsm-gender-options label {
    margin: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
}

/* Inputs & Selects */
#wlsm-submit-registration-form .wlsm-form-control,
#wlsm-submit-registration-form input[type="text"],
#wlsm-submit-registration-form input[type="email"],
#wlsm-submit-registration-form input[type="password"],
#wlsm-submit-registration-form input[type="tel"],
#wlsm-submit-registration-form input[type="number"],
#wlsm-submit-registration-form input[type="date"],
#wlsm-submit-registration-form textarea {
    height: 48px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 0.625rem !important;
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: block !important;
}

#wlsm-submit-registration-form select.wlsm-form-control,
#wlsm-submit-registration-form select {
    height: 48px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 0.625rem !important;
    padding: 0.625rem 2.5rem 0.625rem 1rem !important;
    font-size: 0.875rem !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    width: 100% !important;
    display: block !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23002147' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.85rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.15em 1.15em !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

#wlsm-submit-registration-form input:focus,
#wlsm-submit-registration-form select:focus,
#wlsm-submit-registration-form textarea:focus {
    background-color: #ffffff !important;
    border-color: #002147 !important;
    box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.12) !important;
    outline: none !important;
}

/* Submit Section & Button */
#wlsm-submit-registration-form .wlsm-border-top {
    text-align: center !important;
    padding: 2rem 0 1rem !important;
    margin-top: 1.5rem !important;
    border-top: 1.5px dashed #cbd5e1 !important;
}

#wlsm-submit-registration-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%) !important;
    color: #002147 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 1.1rem 3rem !important;
    min-height: 52px !important;
    border-radius: 9999px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 auto !important;
}

#wlsm-submit-registration-btn:hover {
    background: linear-gradient(135deg, #FFE033 0%, #E5BE42 50%, #C9961A 100%) !important;
    color: #00152e !important;
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.55) !important;
    transform: translateY(-2px) !important;
}

/* HIDE REDUNDANT / NON-APPLICABLE FIELDS WITH HIGHEST SPECIFICITY */
#wlsm-submit-registration-form #registration_school_info,
#wlsm-submit-registration-form #registration_middle_name,
#wlsm-submit-registration-form #registration_caste,
#wlsm-submit-registration-form #registration_state,
#wlsm-submit-registration-form #registration_country,
#wlsm-submit-registration-form #registration_transport,
#wlsm-submit-registration-form #registration_guardian_login,
#wlsm-submit-registration-form #registration_pan,
#wlsm-submit-registration-form .wlsm-parent-id-proof-box,
#wlsm-submit-registration-form .wlsm-form-group:has(#wlsm_middle_name),
#wlsm-submit-registration-form .wlsm-form-group:has(input[name="caste"]),
#wlsm-submit-registration-form .wlsm-form-group:has(input[name="state"]),
#wlsm-submit-registration-form .wlsm-form-group:has(input[name="country"]),
#wlsm-submit-registration-form .wlsm-form-group:has(input[name="parent_id_proof"]),
#wlsm-submit-registration-form .wlsm-form-group:has(#wlsm_subjects:empty) {
    display: none !important;
}

/* Tablet Layout (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    #registration_personal_detail .wlsm-col-4,
    #registration_admission_detail .wlsm-col-4,
    #registration_parent_detail .wlsm-col-4,
    #registration_student_login .wlsm-student-new-user .wlsm-col-4,
    #registration_parent_login .wlsm-parent-new-user .wlsm-col-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

/* Mobile Optimization (<= 768px) */
@media (max-width: 768px) {
    #wlsm-submit-registration-form .wlsm-col-4,
    #wlsm-submit-registration-form .wlsm-col-6,
    #wlsm-submit-registration-form .wlsm-col-12,
    #registration_personal_detail .wlsm-col-4,
    #registration_admission_detail .wlsm-col-4,
    #registration_parent_detail .wlsm-col-4,
    #registration_student_login .wlsm-student-new-user .wlsm-col-4,
    #registration_parent_login .wlsm-parent-new-user .wlsm-col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0.85rem !important;
    }
    
    #wlsm-submit-registration-form .wlsm-row,
    #wlsm-submit-registration-section .wlsm-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 0 !important;
    }

    .wlsm-registration-section {
        border-radius: 1rem !important;
        margin-bottom: 1.25rem !important;
    }

    .wlsm-registration-section-header {
        padding: 0.85rem 1rem !important;
    }

    .wlsm-registration-section-title {
        font-size: 0.925rem !important;
    }

    .wlsm-registration-section-content {
        padding: 1.15rem 0.85rem !important;
    }

    #wlsm-submit-registration-btn {
        width: 100% !important;
        min-width: unset !important;
        padding: 0.95rem 1.25rem !important;
        font-size: 0.8125rem !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
}



/* ==========================================================================
   38. UNIVERSAL EXECUTIVE FORM POLISH & RESPONSIVENESS (MOBILE / TABLET / DESKTOP)
   ========================================================================== */

/* 1. HIDE EMPTY RESULT CONTAINERS (NO GHOST BOXES BEFORE SEARCH) */
.wlsm-exam-result:empty,
.wlsm-certificate:empty,
.wlsm-exam-time-table:empty,
.wlsm-admit-card:empty,
.wlsm-exam-admit-card:empty,
.wlsm-invoice-history:empty,
div[id*="wlsm"]:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    height: 0 !important;
    min-height: 0 !important;
}

/* 2. UNIVERSAL FORM ROW & STACKING (LABELS ABOVE INPUTS) */
.wlsm-form-group,
.wlsm-form-group.wlsm-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1.35rem !important;
    gap: 0.35rem !important;
}

.wlsm-form-group br {
    display: none !important;
}

.wlsm-form-group.wlsm-row > .wlsm-col-4,
.wlsm-form-group.wlsm-row > .wlsm-col-6,
.wlsm-form-group.wlsm-row > .wlsm-col-8,
.wlsm-form-group.wlsm-row > .wlsm-col-12,
.wlsm-form-group.wlsm-row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Inquiry Form 100% Unified Field Alignment & Stacking */
#wlsm-submit-inquiry-form .wlsm-form-section,
#wlsm-submit-inquiry-form .wlsm-form-section > .wlsm-row,
#wlsm-submit-inquiry-form .wlsm-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

#wlsm-submit-inquiry-form .wlsm-form-section > .wlsm-row > .wlsm-form-group.wlsm-col-4,
#wlsm-submit-inquiry-form .wlsm-col-4,
#wlsm-submit-inquiry-form .wlsm-col-6,
#wlsm-submit-inquiry-form .wlsm-col-8,
#wlsm-submit-inquiry-form .wlsm-col-12,
#wlsm-submit-inquiry-form .wlsm-form-group {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    margin-bottom: 1.35rem !important;
}

/* 3. INPUT CONTROLS: UNIFORM 48PX HEIGHT, ROUNDED, EXECUTIVE SLATE PALETTE */
.wlsm input.wlsm-form-control,
.wlsm select.wlsm-form-control,
.wlsm textarea.wlsm-form-control,
.wlsm .wlsm-form-control,
.wlsm-form-control,
#wlsm-login-form .input,
#wlsm-login-form input[type="text"],
#wlsm-login-form input[type="password"] {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.9375rem !important;
    font-family: var(--teknaf-font-sans) !important;
    color: #002147 !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.wlsm textarea.wlsm-form-control {
    min-height: 120px !important;
    resize: vertical !important;
}

.wlsm input.wlsm-form-control:focus,
.wlsm select.wlsm-form-control:focus,
.wlsm textarea.wlsm-form-control:focus,
.wlsm .wlsm-form-control:focus,
#wlsm-login-form .input:focus,
#wlsm-login-form input[type="text"]:focus,
#wlsm-login-form input[type="password"]:focus {
    background-color: #ffffff !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
}

.wlsm input.wlsm-form-control::placeholder,
.wlsm textarea.wlsm-form-control::placeholder,
#wlsm-login-form .input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* 4. CUSTOM SVG CHEVRONS FOR DROPDOWNS */
.wlsm select.wlsm-form-control,
select.wlsm-form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002147' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1.15rem) center !important;
    background-size: 14px !important;
    padding-right: 2.75rem !important;
    cursor: pointer !important;
}

/* 5. FORM LABELS & FIELD TYPOGRAPHY */
.wlsm label,
.wlsm-form-label,
#wlsm-login-form label {
    display: inline-block !important;
    align-self: flex-start !important;
    text-align: left !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #002147 !important;
    margin-bottom: 0.35rem !important;
    font-family: var(--teknaf-font-sans) !important;
}

.wlsm-text-danger,
.text-danger,
.wlsm-important {
    color: #dc2626 !important;
    font-weight: 800 !important;
    margin-right: 2px !important;
}

/* 6. GOLD EXECUTIVE ACTION BUTTONS */
#wlsm-submit-inquiry-btn,
#wlsm-get-exam-time-table-btn,
#wlsm-get-exam-admit-card-btn,
#wlsm-get-exam-result-btn,
#wlsm-get-certificate-btn,
#wlsm-login-submit,
#wlsm-submit-registration-btn,
.wlsm-btn-primary,
.wlsm .button.wlsm-btn {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%) !important;
    color: #002147 !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    font-family: var(--teknaf-font-sans) !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: 9999px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35) !important;
    padding: 0.875rem 2.5rem !important;
    min-height: 48px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
}

#wlsm-submit-inquiry-btn:hover,
#wlsm-get-exam-time-table-btn:hover,
#wlsm-get-exam-admit-card-btn:hover,
#wlsm-get-exam-result-btn:hover,
#wlsm-get-certificate-btn:hover,
#wlsm-login-submit:hover,
#wlsm-submit-registration-btn:hover,
.wlsm-btn-primary:hover,
.wlsm .button.wlsm-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
    background: linear-gradient(135deg, #FFE033 0%, #E5BE42 50%, #C9961A 100%) !important;
    color: #00152e !important;
}

#wlsm-submit-inquiry-btn:active,
#wlsm-get-exam-time-table-btn:active,
#wlsm-get-exam-admit-card-btn:active,
#wlsm-get-exam-result-btn:active,
#wlsm-get-certificate-btn:active,
#wlsm-login-submit:active,
#wlsm-submit-registration-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
}

/* 7. CARD CONTAINERS & RESPONSIVE PADDING */
.wlsm > div {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .wlsm > div,
    .wlsm-form-section,
    .wlsm-registration-section {
        padding: 1.25rem 1rem !important;
        border-radius: 0.875rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    #wlsm-submit-inquiry-btn,
    #wlsm-get-exam-time-table-btn,
    #wlsm-get-exam-admit-card-btn,
    #wlsm-get-exam-result-btn,
    #wlsm-get-certificate-btn,
    #wlsm-login-submit,
    #wlsm-submit-registration-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.875rem 1.25rem !important;
    }
    
    .wlsm-border-top {
        text-align: center !important;
        width: 100% !important;
        padding-top: 1rem !important;
        margin-top: 1rem !important;
        border-top: 1px solid #e2e8f0 !important;
    }
}

/* 8. RESULT PRESENTATION POLISH */
.wlsm-exam-result:not(:empty),
.wlsm-certificate:not(:empty),
.wlsm-exam-time-table:not(:empty),
.wlsm-admit-card:not(:empty),
.wlsm-exam-admit-card:not(:empty) {
    display: block !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    padding: 1.75rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 33, 71, 0.08) !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    animation: fadeInResult 0.3s ease-out !important;
}

@keyframes fadeInResult {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .wlsm-exam-result:not(:empty),
    .wlsm-certificate:not(:empty),
    .wlsm-exam-time-table:not(:empty),
    .wlsm-admit-card:not(:empty),
    .wlsm-exam-admit-card:not(:empty) {
        padding: 1.15rem 0.85rem !important;
        border-radius: 0.875rem !important;
    }
}

/* ==========================================================================
   SECTION 39: ADMISSION FORM REFINEMENT & HEADER ROBUSTNESS
   ========================================================================== */
/* Hide redundant and non-applicable sections in the registration form */
#registration_school_info,
#registration_transport,
#registration_guardian_login {
    display: none !important;
}

/* Ensure no nav links wrap on desktop navigation */
#navbar a,
#site-header nav a {
    white-space: nowrap !important;
}

/* Mobile toggle outline cleanup */
#mobile-toggle {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
#mobile-toggle:focus,
#mobile-toggle:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

