/* MeetFlow responsive UI - desktop, tablet and mobile */
:root {
    --primary: #635bff;
    --primary-dark: #4b44d6;
    --secondary: #12b8a6;
    --accent: #ff7a59;
    --bg: #f5f7fb;
    --card: #fff;
    --text: #182230;
    --muted: #718096;
    --border: #e7eaf0;
    --sidebar: #171a2d;
    --sidebar-hover: #292d49;
    --radius: 16px;
    --shadow: 0 12px 35px rgba(27,35,58,.08)
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: Inter,"Segoe UI",Arial,sans-serif;
    background: var(--bg);
    color: var(--text)
}

a {
    text-decoration: none;
    color: inherit
}

button, input {
    font: inherit
}

.mf-app {
    min-height: 100vh
}

.mf-sidebar {
    width: 270px;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    background: var(--sidebar);
    color: #c8ccdc;
    display: flex;
    flex-direction: column;
    transition: transform .25s
}

.mf-sidebar-brand {
    width:106%;
    height: 82px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ffffff12
}

.mf-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg,var(--primary),#8d86ff);
    box-shadow: 0 8px 20px #635bff4d
}

.mf-brand-mark-large {
    width: 48px;
    height: 48px
}

.mf-brand-text {
    display: flex;
    flex-direction: column
}

    .mf-brand-text strong {
        color: #fff;
        font-size: 19px
    }

    .mf-brand-text span {
        color: #888fa7;
        font-size: 11px;
        margin-top: 3px
    }

.mf-sidebar-close {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    color: #fff;
    font-size: 25px
}

.mf-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 18px 13px;
    width: 125%;
}

.mf-nav {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.mf-nav-item {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: none;
    color: #c8ccdc;
    padding: 11px 13px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 600
}

    .mf-nav-item:hover {
        background: var(--sidebar-hover);
        color: #fff
    }

.mf-icon {
    width: 21px;
    text-align: center;
    font-size: 18px
}

.mf-chevron {
    margin-left: auto
}

.mf-nav-toggle.open .mf-chevron {
    transform: rotate(180deg)
}


.mf-sidebar-bottom {
    padding: 14px;
    border-top: 1px solid #ffffff12
}

.mf-sidebar-help {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: #ffffff0d;
    border-radius: 12px
}

.mf-help-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #635bff40;
    color: #b7b2ff
}

.mf-sidebar-help strong {
    display: block;
    color: #fff;
    font-size: 12px
}

.mf-sidebar-help small {
    color: #858ca2;
    font-size: 10px
}

.mf-main {
    width: calc(100% - 270px);
    margin-left: 270px;
    min-height: 100vh
}

.mf-header {
    height: 82px;
    background: #fffffff2;
    border-bottom: 1px solid var(--border);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100
}

.mf-header-left, .mf-header-right {
    display: flex;
    align-items: center
}

.mf-menu-button {
    display: none;
    border: 0;
    background: none;
    padding: 8px;
    cursor: pointer
}

    .mf-menu-button span {
        display: block;
        width: 23px;
        height: 2px;
        background: #283044;
        margin: 5px
    }

.mf-page-kicker, .mf-eyebrow, .mf-panel-kicker {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--primary)
}

.mf-page-title h1 {
    margin: 4px 0;
    font-size: 22px
}

.mf-header-right {
    gap: 8px
}

.mf-header-icon {
    position: relative;
    border: 0;
    background: #f4f5f9;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer
}

.mf-notification-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff5b6e;
    top: 8px;
    right: 8px;
    border: 2px solid #fff
}

.mf-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
    padding-left: 15px;
    border-left: 1px solid var(--border)
}

.mf-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg,var(--secondary),#4fd1c5)
}

.mf-profile-info strong, .mf-profile-info span {
    display: block
}

.mf-profile-info strong {
    font-size: 12px
}

.mf-profile-info span {
    font-size: 10px;
    color: var(--muted);
    margin-top: 2px
}

.mf-profile-arrow {
    border: 0;
    background: none
}

.mf-content {
    padding: 28px 30px;
    max-width: 1600px;
    margin: auto
}

.mf-footer {
    padding: 15px 30px 22px;
    display: flex;
    justify-content: space-between;
    color: #98a0b2;
    font-size: 11px
}

.mf-welcome, .mf-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px
}

    .mf-welcome h2, .mf-page-head h2 {
        margin: 5px 0;
        font-size: 26px
    }

    .mf-welcome p, .mf-page-head p {
        margin: 0;
        color: var(--muted);
        font-size: 13px
    }

.mf-primary-btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    padding: 11px 16px;
    color: #fff;
    background: linear-gradient(135deg,var(--primary),#817bff);
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 8px 20px #635bff33
}

.mf-stat-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 22px
}

.mf-stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 19px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: var(--shadow)
}

.mf-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 19px
}

.icon-purple {
    background: #efedff;
    color: #655de7
}

.icon-blue {
    background: #e8f5ff;
    color: #2495d0
}

.icon-green {
    background: #e7faf3;
    color: #13a77f
}

.icon-orange {
    background: #fff1e9;
    color: #ef7b48
}

.mf-stat-card span, .mf-stat-card small {
    display: block
}

.mf-stat-card span {
    color: var(--muted);
    font-size: 11px
}

.mf-stat-card strong {
    display: block;
    font-size: 24px;
    margin: 3px 0
}

.mf-stat-card small {
    color: #1aa27d;
    font-size: 10px
}

.mf-dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px
}

.mf-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px
}

.mf-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px
}

    .mf-panel-head h3 {
        margin: 4px 0;
        font-size: 17px
    }

    .mf-panel-head a {
        color: var(--primary);
        font-size: 11px;
        font-weight: 700
    }

.mf-meeting-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f1f5
}

.mf-date-box {
    min-width: 46px;
    text-align: center;
    background: #f5f4ff;
    border-radius: 10px;
    padding: 7px 4px;
    color: var(--primary)
}

    .mf-date-box strong, .mf-date-box span, .mf-meeting-info strong, .mf-meeting-info span {
        display: block
    }

    .mf-date-box strong {
        font-size: 17px
    }

    .mf-date-box span {
        font-size: 8px;
        font-weight: 800
    }

.mf-meeting-info {
    flex: 1
}

    .mf-meeting-info strong {
        font-size: 12px
    }

    .mf-meeting-info span {
        color: var(--muted);
        font-size: 10px;
        margin-top: 4px
    }

.mf-status {
    display: inline-flex;
    border-radius: 20px;
    padding: 5px 8px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap
}

.status-blue {
    color: #277cb2;
    background: #eaf6ff
}

.status-purple {
    color: #635bff;
    background: #efedff
}

.status-green {
    color: #138867;
    background: #e8faf3
}

.status-orange {
    color: #c66b35;
    background: #fff0e5
}

.mf-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f5
}

.task-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.dot-red {
    background: #ef5b69
}

.dot-orange {
    background: #ef9a4e
}

.dot-green {
    background: #20b486
}

.mf-task strong, .mf-task small {
    display: block
}

.mf-task strong {
    font-size: 12px
}

.mf-task small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px
}

.mf-login-page {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 15%,#635bff38,transparent 28%),radial-gradient(circle at 90% 80%,#12b8a62e,transparent 28%),linear-gradient(135deg,#10152c,#25224d 55%,#172c45);
    color: #fff
}

.mf-login-shell {
    min-height: 100vh;
    padding: 28px 5%
}

.mf-login-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

    .mf-login-brand strong {
        display: block;
        font-size: 21px
    }

    .mf-login-brand span {
        display: block;
        color: #aeb5cf;
        font-size: 11px;
        margin-top: 3px
    }

.mf-login-content {
    max-width: 1150px;
    margin: 7vh auto 0;
    display: grid;
    grid-template-columns: 1.05fr .75fr;
    gap: 70px;
    align-items: center
}

.mf-login-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center
}

.mf-login-copy {
    position: relative;
    z-index: 2;
    max-width: 540px
}

    .mf-login-copy h1 {
        font-size: 70px;
        line-height: .95;
        letter-spacing: -3px;
        margin: 15px 0 22px
    }

        .mf-login-copy h1 span {
            color: #8d86ff
        }

    .mf-login-copy p {
        color: #b7bed2;
        font-size: 15px;
        line-height: 1.7
    }

.mf-login-features {
    margin-top: 28px;
    display: grid;
    gap: 11px;
    color: #dfe2ec;
    font-size: 12px
}

.mf-login-orb {
    position: absolute;
    border-radius: 50%
}

.orb-one {
    width: 300px;
    height: 300px;
    background: #635bff21;
    right: 0;
    top: 10px
}

.orb-two {
    width: 180px;
    height: 180px;
    background: #12b8a61f;
    left: 20px;
    bottom: 0
}

.mf-login-card {
    background: #fffffff7;
    color: var(--text);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 30px 80px #00000040
}

.mf-login-card-head {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 28px
}

.mf-login-icon {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: linear-gradient(135deg,var(--primary),#8b85ff);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800
}

.mf-login-card-head span {
    color: var(--muted);
    font-size: 11px
}

.mf-login-card-head h2 {
    margin: 3px 0;
    font-size: 20px
}

.mf-form-group {
    margin-bottom: 18px
}

    .mf-form-group label {
        display: block;
        font-size: 11px;
        font-weight: 800;
        margin-bottom: 7px
    }

.mf-input-wrap {
    position: relative
}

    .mf-input-wrap input {
        width: 100%;
        border: 1px solid #e2e5ec;
        background: #f8f9fc;
        border-radius: 11px;
        padding: 12px 40px;
        outline: none
    }

        .mf-input-wrap input:focus {
            background: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px #635bff17
        }

.mf-input-icon {
    position: absolute;
    left: 13px;
    top: 12px;
    color: #8992a5
}

.mf-password-toggle {
    position: absolute;
    right: 8px;
    top: 6px;
    border: 0;
    background: none;
    padding: 7px;
    color: #8992a5;
    cursor: pointer
}

.mf-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    margin: 4px 0 20px
}

    .mf-login-options a {
        color: var(--primary);
        font-weight: 700
    }

.mf-login-button {
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 13px 16px;
    color: #fff;
    background: linear-gradient(135deg,var(--primary),#817bff);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 800
}

.mf-login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 10px;
    color: #a1a8b7;
    font-size: 9px
}

    .mf-login-divider:before, .mf-login-divider:after {
        content: "";
        height: 1px;
        background: #e8eaf0;
        flex: 1
    }

.mf-login-security {
    color: #9aa2b1;
    text-align: center;
    font-size: 9px
}

.mf-mobile-overlay {
    display: none
}

.validation-summary {
    margin-bottom: 18px;
    padding: 12px 15px;
    border-radius: 8px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    font-size: 14px;
}

    .validation-summary ul {
        margin: 0;
        padding-left: 20px;
    }

.validation-error {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
    font-weight: 500;
    line-height: 18px;
}

    .validation-error:empty {
        display: none;
    }

@media(max-width:1100px) {
    .mf-stat-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .mf-dashboard-grid {
        grid-template-columns: 1fr
    }

    .mf-login-content {
        gap: 35px
    }

    .mf-login-copy h1 {
        font-size: 58px
    }
}

@media(max-width:850px) {
    .mf-sidebar {
        transform: translateX(-100%);
        box-shadow: 20px 0 50px #0004
    }

        .mf-sidebar.mobile-open {
            transform: translateX(0)
        }

    .mf-sidebar-close {
        display: block
    }

    .mf-main {
        width: 100%;
        margin-left: 0
    }

    .mf-menu-button {
        display: block;
        margin-right: 10px
    }

    .mf-header {
        padding: 0 18px
    }

    .mf-profile-info, .mf-profile-arrow {
        display: none
    }

    .mf-profile {
        padding-left: 8px;
        border-left: 0
    }

    .mf-mobile-overlay.active {
        display: block;
        position: fixed;
        inset: 0;
        background: #080b1990;
        z-index: 900
    }

    .mf-content {
        padding: 22px 18px
    }

    .mf-login-content {
        grid-template-columns: 1fr;
        margin-top: 5vh
    }

    .mf-login-visual {
        min-height: auto
    }

    .mf-login-copy h1 {
        font-size: 52px
    }

    .mf-login-features {
        display: none
    }
}

@media(max-width:600px) {
    .mf-header {
        height: 70px
    }

    .mf-page-title h1 {
        font-size: 18px
    }

    .mf-stat-grid {
        grid-template-columns: 1fr
    }

    .mf-welcome, .mf-page-head {
        align-items: flex-start;
        flex-direction: column
    }

    .mf-primary-btn {
        width: 100%
    }

    .mf-panel {
        padding: 16px
    }

    .mf-meeting-row {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .mf-meeting-info {
        min-width: calc(100% - 65px)
    }

    .mf-meeting-row .mf-status {
        margin-left: 60px
    }

    .mf-footer {
        flex-direction: column;
        gap: 5px
    }

    .mf-login-shell {
        padding: 20px
    }

    .mf-login-content {
        margin-top: 35px
    }

    .mf-login-copy h1 {
        font-size: 44px
    }

    .mf-login-card {
        padding: 23px;
        border-radius: 18px
    }
}

:root {
    --mf-primary: #4f46e5;
    --mf-primary-dark: #3730a3;
    --mf-sidebar: #111827;
    --mf-sidebar-hover: #1f2937;
    --mf-background: #f5f7fb;
    --mf-card: #ffffff;
    --mf-text: #1f2937;
    --mf-muted: #8a94a6;
    --mf-border: #e8ebf1;
    --mf-sidebar-width: 265px;
    --mf-header-height: 70px;
}


/* =========================
   BODY
========================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--mf-background);
    color: var(--mf-text);
}


/* =========================
   APPLICATION
========================= */

.meetflow-app {
    min-height: 100vh;
    display: flex;
}


/* =========================
   SIDEBAR
========================= */

.meetflow-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--mf-sidebar-width);
    background: var(--mf-sidebar);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    transition: transform .3s ease;
}


/* =========================
   BRAND
========================= */

.sidebar-brand {
    height: 76px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mf-primary);
    font-size: 20px;
}

.brand-name {
    display: block;
    font-size: 19px;
    font-weight: 700;
}

.brand-text small {
    display: block;
    color: #9ca3af;
    font-size: 10px;
}


/* =========================
   USER
========================= */

.sidebar-user {
    display: flex;
    align-items: center;
    padding: 17px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    gap: 11px;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.sidebar-user-info {
    overflow: hidden;
}

    .sidebar-user-info strong {
        display: block;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar-user-info small {
        color: #9ca3af;
        font-size: 11px;
    }


/* =========================
   NAVIGATION
========================= */

.sidebar-navigation {
    flex: 1;
    padding: 15px 11px;
    overflow-y: auto;
}

.sidebar-section-title {
    padding: 13px 12px 7px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================
   MENU ITEM
========================= */

.sidebar-menu-item {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 3px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

    .sidebar-menu-item:hover {
        background: var(--mf-sidebar-hover);
        color: #ffffff;
    }

    .sidebar-menu-item.active {
        background: var(--mf-primary);
        color: #ffffff;
    }

    .sidebar-menu-item > i {
        width: 19px;
        text-align: center;
        font-size: 16px;
    }

.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.menu-arrow {
    font-size: 11px !important;
    transition: transform .2s ease;
}

.sidebar-menu-toggle[aria-expanded="true"] .menu-arrow {
    transform: rotate(180deg);
}


/* =========================
   SUBMENU
========================= */

.sidebar-submenu {
    padding-left: 42px;
}

    .sidebar-submenu a {
        display: block;
        padding: 8px 10px;
        color: #9ca3af;
        text-decoration: none;
        font-size: 12px;
        border-radius: 6px;
    }

        .sidebar-submenu a:hover {
            color: #ffffff;
            background: rgba(255,255,255,.05);
        }

    .sidebar-submenu i {
        width: 18px;
        margin-right: 5px;
    }


/* =========================
   AI MENU
========================= */

.ai-menu {
    margin-top: 7px;
    background: rgba(99,102,241,.12);
}

    .ai-menu > i {
        color: #a5b4fc;
    }

.ai-badge {
    margin-left: auto;
    padding: 2px 6px;
    border-radius: 5px;
    background: #6366f1;
    color: white;
    font-size: 8px;
    font-weight: 700;
}


/* =========================
   SIDEBAR FOOTER
========================= */

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-footer-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: transparent;
    border: none;
    color: #9ca3af;
    text-decoration: none;
    font-size: 12px;
    border-radius: 7px;
}

    .sidebar-footer-item:hover {
        background: var(--mf-sidebar-hover);
        color: white;
    }

.logout-button {
    cursor: pointer;
}


/* =========================
   MAIN
========================= */

.meetflow-main {
    margin-left: var(--mf-sidebar-width);
    width: calc(100% - var(--mf-sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* =========================
   HEADER
========================= */

.meetflow-header {
    height: var(--mf-header-height);
    background: white;
    border-bottom: 1px solid var(--mf-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    gap: 15px;
}

.header-right {
    gap: 15px;
}

.sidebar-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 24px;
    color: var(--mf-text);
}

.header-page-title {
    font-size: 16px;
    font-weight: 600;
}

.header-icon-button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: #f5f7fb;
    color: #667085;
    position: relative;
}

    .header-icon-button:hover {
        background: #eef0f5;
    }

.notification-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    top: 7px;
    right: 7px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-left: 5px;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.header-user-details strong {
    display: block;
    font-size: 12px;
}

.header-user-details small {
    display: block;
    color: #98a2b3;
    font-size: 10px;
}


/* =========================
   CONTENT
========================= */

.meetflow-content {
    flex: 1;
    padding: 0;
}


/* =========================
   FOOTER
========================= */

.meetflow-footer {
    padding: 15px 25px;
    background: white;
    border-top: 1px solid var(--mf-border);
    display: flex;
    justify-content: space-between;
    color: #98a2b3;
    font-size: 11px;
}


/* =========================
   MOBILE OVERLAY
========================= */

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1040;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .meetflow-sidebar {
        transform: translateX(-100%);
    }

        .meetflow-sidebar.sidebar-open {
            transform: translateX(0);
        }

    .meetflow-main {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar-overlay.active {
        display: block;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {

    .meetflow-header {
        padding: 0 15px;
    }

    .header-user-details {
        display: none;
    }

    .header-icon-button {
        width: 34px;
        height: 34px;
    }

    .meetflow-footer {
        padding: 12px 15px;
        display: block;
        text-align: center;
    }

        .meetflow-footer span {
            display: block;
            margin: 3px 0;
        }
}

.mf-nav-toggle {
    border: 0;
    background: transparent;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

    .mf-nav-toggle .mf-chevron {
        margin-left: auto;
        transition: transform 0.25s ease;
    }

    .mf-nav-toggle.active .mf-chevron {
        transform: rotate(180deg);
    }
/*
.mf-submenu {
    display: none;
    padding-left: 20px;
}

    .mf-submenu.open {
        display: block;
    }
*/
    /*.mf-submenu a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        color: inherit;
        text-decoration: none;
        border-radius: 6px;
    }*/

      /*  .mf-submenu a:hover {
            background: rgba(255, 255, 255, 0.06);
        }*/
/* =========================================================
   MEETFLOW SIDEBAR - FINAL OVERRIDES
   ========================================================= */

/* -----------------------------------------
   COMPLETE SIDEBAR
----------------------------------------- */
/* =====================================================
   SIDEBAR SECTION BUTTON - FIX
===================================================== */

.mf-sidebar .mf-nav-toggle {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 94% !important;
    height: 44px !important;
    padding: 8px 16px !important;
    margin: 5px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}


    /* Remove Bootstrap/browser button appearance */

    .mf-sidebar .mf-nav-toggle:hover,
    .mf-sidebar .mf-nav-toggle:focus,
    .mf-sidebar .mf-nav-toggle:active,
    .mf-sidebar .mf-nav-toggle:focus-visible {
        background: transparent !important;
        color: #ffffff !important;
        border: 0 !important;
        outline: none !important;
        box-shadow: none !important;
    }


    /* MASTER text */

    .mf-sidebar .mf-nav-toggle .mf-panel-kicker {
        display: block !important;
        color: #655cff !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        line-height: 1 !important;
    }


    /* Arrow */

    .mf-sidebar .mf-nav-toggle .mf-chevron {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin-left: auto !important;
        color: #dce0f2 !important;
        font-size: 14px;
        transition: transform .2s ease;
    }


/* =====================================================
   SUBMENU
===================================================== */
/*
.mf-sidebar .mf-submenu {
    display: none !important;
    padding: 2px 0 8px 10px !important;
}


    .mf-sidebar .mf-submenu.open {
        display: block !important;
    }*/


/* =====================================================
   ARROW
===================================================== */

.mf-sidebar .mf-nav-toggle.open .mf-chevron {
    transform: rotate(180deg);
}

/* -----------------------------------------
   MAIN MENU ITEM
----------------------------------------- */

.mf-nav > .mf-nav-item {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: transparent;
    color: #c8ccdc;
    padding: 11px 13px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

    .mf-nav > .mf-nav-item:hover {
        background: var(--sidebar-hover);
        color: #ffffff;
    }


/* -----------------------------------------
   SIDEBAR COLLAPSE BUTTON
----------------------------------------- */

.mf-sidebar-collapse-button {
    position: fixed;
    left: 256px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 0 9px 9px 0;
    background: #22263d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    transition: left .25s ease, background .2s ease;
}

    .mf-sidebar-collapse-button:hover {
        background: #303550;
    }

    .mf-sidebar-collapse-button i {
        font-size: 13px;
    }


/* -----------------------------------------
   SIDEBAR MINIMIZED
----------------------------------------- */

.mf-sidebar.is-collapsed {
    width: 72px;
}


    /* Hide text */

    .mf-sidebar.is-collapsed
    .mf-brand-text,
    .mf-sidebar.is-collapsed
    .mf-panel-kicker,
    .mf-sidebar.is-collapsed
    .mf-menu-text {
        display: none !important;
    }


    /* Center brand */

    .mf-sidebar.is-collapsed
    .mf-sidebar-brand {
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
    }


    /* Main menu icons */

    .mf-sidebar.is-collapsed
    .mf-nav-item {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }


    /* Section headers */

    .mf-sidebar.is-collapsed
    .mf-nav-toggle {
        display: none;
    }


    /* Keep submenu items visible as icons if desired */

    .mf-sidebar.is-collapsed
    .mf-submenu {
        display: block;
        padding-left: 0;
    }


        /* Hide submenu text */

        .mf-sidebar.is-collapsed
        .mf-submenu a {
            justify-content: center;
            padding-left: 0;
            padding-right: 0;
            font-size: 0;
        }


    /* -----------------------------------------
   COLLAPSE BUTTON POSITION
----------------------------------------- */

    .mf-sidebar.is-collapsed ~ .mf-sidebar-collapse-button {
        left: 58px;
    }


/* -----------------------------------------
   MAIN CONTENT
----------------------------------------- */

.mf-main {
    margin-left: 270px;
    width: calc(100% - 270px);
    transition: margin-left .25s ease, width .25s ease;
}


/* Main content after sidebar minimized */

body.mf-sidebar-collapsed
.mf-main {
    margin-left: 72px;
    width: calc(100% - 72px);
}


/* -----------------------------------------
   MOBILE
----------------------------------------- */

@media (max-width: 850px) {

    .mf-sidebar {
        width: 270px;
        transform: translateX(-100%);
        transition: transform .25s ease, width .25s ease;
    }

        .mf-sidebar.mobile-open {
            transform: translateX(0);
        }

        .mf-sidebar.is-collapsed {
            width: 270px;
        }

    .mf-sidebar-collapse-button {
        display: none;
    }

    .mf-main {
        width: 100%;
        margin-left: 0;
    }

    body.mf-sidebar-collapsed
    .mf-main {
        width: 100%;
        margin-left: 0;
    }
}

/* =====================================================
   SIDEBAR SUBMENU COLLAPSE / EXPAND
   IMPORTANT: KEEP THIS AT THE END OF layout.css
===================================================== */

/* CLOSED */
.mf-sidebar .mf-submenu {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}


    /* OPEN */
    .mf-sidebar .mf-submenu.open {
        display: block !important;
        visibility: visible;
        height: auto;
        overflow: visible;
        padding: 4px 0 8px 10px !important;
    }

/*   form main sidebar */
/* =========================================================
   WHOLE SIDEBAR COLLAPSE / EXPAND
========================================================= */

/* -----------------------------------------
   NORMAL SIDEBAR
----------------------------------------- */

.mf-sidebar {
    width: 270px !important;
    transition: width 0.25s ease, min-width 0.25s ease;
    overflow: hidden !important;
}


/* -----------------------------------------
   HEADER
----------------------------------------- */

.mf-sidebar-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px 10px;
}


/* -----------------------------------------
   COLLAPSE BUTTON
----------------------------------------- */

.mf-sidebar-collapse-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #111827 !important;
    cursor: pointer;
    box-shadow: none !important;
}


    .mf-sidebar-collapse-btn:hover {
        background: #f3f4f6 !important;
        border-radius: 5px;
    }


    .mf-sidebar-collapse-btn i {
        font-size: 14px;
        transition: transform 0.25s ease;
    }

/* =========================================
   FULLY COLLAPSED SIDEBAR
   ========================================= */

.mf-sidebar.is-collapsed {
    width: 72px !important;
    min-width: 72px !important;
}

    /* Hide ALL text */
    .mf-sidebar.is-collapsed .mf-brand-text,
    .mf-sidebar.is-collapsed .mf-panel-kicker,
    .mf-sidebar.is-collapsed .mf-menu-text,
    .mf-sidebar.is-collapsed .mf-nav-item span,
    .mf-sidebar.is-collapsed .mf-nav a span,
    .mf-sidebar.is-collapsed .mf-sidebar-footer span {
        display: none !important;
    }

    /* Center normal menu icons */
    .mf-sidebar.is-collapsed .mf-nav-item,
    .mf-sidebar.is-collapsed .mf-nav a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

        /* Normal menu icons */
        .mf-sidebar.is-collapsed .mf-nav-item i,
        .mf-sidebar.is-collapsed .mf-nav a i,
        .mf-sidebar.is-collapsed .mf-icon {
            display: inline-flex !important;
            justify-content: center;
            align-items: center;
            width: 22px;
            margin: 0 !important;
            font-size: 18px;
        }


    /* =========================================
   SECTION HEADERS
   MAIN / MASTER
   ========================================= */

    .mf-sidebar.is-collapsed .mf-nav-toggle {
        display: none !important;
    }


    /* =========================================
   SUBMENU
   IMPORTANT: KEEP ICONS
   ========================================= */

    .mf-sidebar.is-collapsed .mf-submenu {
        display: block !important;
        visibility: visible;
        height: auto;
        padding: 0 !important;
        margin: 0 !important;
    }

        /* Hide submenu text */
        .mf-sidebar.is-collapsed .mf-submenu a {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            padding: 10px 0 !important;
            margin: 2px 5px !important;
            font-size: 0 !important;
        }

            /* Keep submenu icons */
            .mf-sidebar.is-collapsed .mf-submenu a i,
            .mf-sidebar.is-collapsed .mf-submenu a .bi {
                display: inline-flex !important;
                width: 22px !important;
                height: 22px;
                margin: 0 !important;
                font-size: 18px !important;
                justify-content: center;
                align-items: center;
            }


    /* =========================================
   FOOTER
   Help / Profile / Sign Out
   ========================================= */

    .mf-sidebar.is-collapsed .mf-sidebar-footer a,
    .mf-sidebar.is-collapsed .mf-sidebar-bottom a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .mf-sidebar.is-collapsed .mf-sidebar-footer i,
    .mf-sidebar.is-collapsed .mf-sidebar-bottom i {
        display: inline-flex !important;
        margin: 0 !important;
        font-size: 18px !important;
    }
.mf-sidebar-brand-title {
    display: inline-block;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}


/* Collapsed sidebar */
.mf-sidebar.is-collapsed .mf-sidebar-brand-title {
    display: none !important;
}

/* =========================================
   USER INFORMATION - ONE LINE
========================================= */

.user-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.user-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}


/* =========================================
   PERMISSIONS
========================================= */

.permissions-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

    .permissions-toggle i {
        transition: transform 0.2s ease;
    }

    .permissions-toggle.open i {
        transform: rotate(180deg);
    }

.permissions-list {
    display: none;
}

    .permissions-list.open {
        display: block;
    }

/* =====================================================
   COMPACT SIDEBAR MENU SPACING
===================================================== */

.mf-submenu .mf-nav-item {
    min-height: 42px;
    height: 42px;
    margin: 1px 0;
    padding: 0 14px;
    display: flex;
    align-items: center;
}


/* Icon spacing */
.mf-submenu .mf-nav-item {
    min-height: 38px;
    height: 38px;
    margin: 0;
}

    /* Text */
    .mf-submenu .mf-nav-item .mf-menu-text {
        line-height: 1;
    }

/* =========================================================
   AI ACTION ITEM RISK
   ========================================================= */

.ai-risk-card {
    border-radius: 8px;
}

.ai-risk-chart {
    padding: 10px 5px;
}

.risk-row {
    display: grid;
    grid-template-columns: 150px 1fr 55px;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

    .risk-row:last-child {
        margin-bottom: 0;
    }

.risk-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.risk-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 7px;
}

    .risk-dot.high {
        background: #dc3545;
    }

    .risk-dot.medium {
        background: #ffc107;
    }

    .risk-dot.low {
        background: #198754;
    }

.risk-bar-container {
    height: 12px;
    background: #eef1f5;
    border-radius: 20px;
    overflow: hidden;
}

.risk-bar {
    height: 100%;
    min-width: 2px;
    border-radius: 20px;
    transition: width 0.5s ease;
}

    .risk-bar.high {
        background: #dc3545;
    }

    .risk-bar.medium {
        background: #ffc107;
    }

    .risk-bar.low {
        background: #198754;
    }

.risk-percent {
    font-size: 13px;
    color: #6c757d;
    text-align: right;
}

.ai-insight-box {
    background: #f7f8fc;
    border: 1px solid #e4e7ef;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
}

.ai-insight-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0ff;
    color: #5b5ce2;
    margin-right: 10px;
}

@media (max-width: 768px) {

    .risk-row {
        grid-template-columns: 120px 1fr 45px;
        gap: 8px;
    }
}

/* =========================================
   SIDEBAR SECTION
   ========================================= */

.mf-nav-section {
    margin-bottom: 10px;
}


/* =========================================
   SECTION HEADER - MAIN / MASTER
   ========================================= */

.mf-nav-toggle {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px 18px;
    cursor: pointer;
}


/* MAIN / MASTER text */

.mf-panel-kicker {
    color: #7c6cff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}


/* Section arrow */

.mf-chevron {
    color: #b8c0d9;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}


/* Header hover */

.mf-nav-toggle:hover .mf-panel-kicker {
    color: #9b91ff;
}

.mf-nav-toggle:hover .mf-chevron {
    color: #ffffff;
}


    /* =========================================
   MENU ITEM
   ========================================= */

    .mf-submenu a {
        color: #d9def0;
        font-size: 15px;
        font-weight: 500;
        transition: background-color 0.2s ease, color 0.2s ease;
        border-radius: 7px;
    }


        /* =========================================
   MENU ICON
   ========================================= */

        .mf-submenu a i,
        .mf-submenu a .bi {
            color: #9eb7ff;
            transition: color 0.2s ease, transform 0.2s ease;
        }


        /* =========================================
   MENU HOVER
   ========================================= */

        .mf-submenu a:hover {
            color: #ffffff;
            background: rgba(124, 108, 255, 0.10);
        }

            .mf-submenu a:hover i,
            .mf-submenu a:hover .bi {
                color: #9b91ff;
                transform: translateX(1px);
            }


        /* =========================================
   ACTIVE MENU
   ========================================= */

        .mf-submenu a.active {
            color: #ffffff;
            background: linear-gradient( 90deg, rgba(124, 108, 255, 0.22), rgba(124, 108, 255, 0.08) );
            box-shadow: inset 3px 0 0 #7c6cff;
        }


            .mf-submenu a.active i,
            .mf-submenu a.active .bi {
                color: #9b91ff;
            }
.mf-page-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mf-page-header-content {
    flex: 1;
    min-width: 0;
}

.mf-page-title {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #14213d;
}

.mf-page-subtitle {
    margin: 6px 0 0 0;
    color: #64748b;
    font-size: 15px;
}

.mf-page-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 4px;
}

#btnAddMeetingType {
    white-space: nowrap;
}
.mf-language {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.mf-language-button {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 8px;
}

    .mf-language-button:hover,
    .mf-language-button:focus {
        text-decoration: none;
        background: rgba(0, 0, 0, 0.05);
        color: inherit;
    }

.mf-language .dropdown-menu {
    min-width: 160px;
}

.mf-language .dropdown-item {
    padding: 8px 14px;
}
/* ==========================================================
   AGENDA TEMPLATE
   ========================================================== */

.mf-template-filter {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.mf-template-filter-buttons {
    display: flex;
    gap: 8px;
}

.mf-culture-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 12px;
    background: #f3f4f6;
}

.mf-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 12px;
    background: #ede9fe;
    color: #6d28d9;
}

.mf-ai-master-settings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mf-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
}

    .mf-checkbox-card input {
        margin-top: 3px;
    }

    .mf-checkbox-card span {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mf-checkbox-card small {
        color: #6b7280;
    }

.mf-culture-preview {
    margin-top: 16px;
}

.mf-culture-selected,
.mf-culture-default {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f9fafb;
}

.mf-culture-selected {
    border: 1px solid #ddd6fe;
}

    .mf-culture-selected i {
        font-size: 20px;
    }

    .mf-culture-selected div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mf-culture-selected small {
        color: #6b7280;
    }

.mf-agenda-item {
    position: relative;
    display: flex;
    gap: 15px;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
}

.mf-agenda-number {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #2563eb;
    color: #fff;
}

.mf-agenda-content {
    flex: 1;
    min-width: 0;
}

.mf-delete-agenda {
    flex: 0 0 34px;
    color: #dc2626;
}

.mf-agenda-ai {
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.mf-agenda-ai-header {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

    .mf-agenda-ai-header h3 {
        margin: 0;
        font-size: 14px;
    }

    .mf-agenda-ai-header i {
        margin-right: 5px;
    }

.mf-agenda-ai-body {
    padding: 15px;
}

.mf-ai-options {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 16px;
}

    .mf-ai-options label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
    }

.mf-switch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

    .mf-switch input {
        display: none;
    }

.mf-switch-slider {
    position: relative;
    width: 38px;
    height: 20px;
    border-radius: 20px;
    background: #d1d5db;
}

    .mf-switch-slider::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #fff;
        transition: 0.2s;
    }

.mf-switch input:checked + .mf-switch-slider {
    background: #2563eb;
}

    .mf-switch input:checked + .mf-switch-slider::after {
        transform: translateX(18px);
    }

.mf-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.mf-empty-state {
    padding: 45px 20px !important;
    text-align: center !important;
    color: #6b7280;
}

.mf-empty-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.mf-input-suffix {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .mf-input-suffix .mf-form-control {
        flex: 1;
    }

@media (max-width: 1000px) {

    .mf-template-filter {
        grid-template-columns: 1fr 1fr;
    }

    .mf-ai-master-settings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .mf-template-filter {
        grid-template-columns: 1fr;
    }

    .mf-agenda-item {
        flex-direction: column;
    }

    .mf-agenda-number {
        flex-basis: 34px;
    }

    .mf-ai-options {
        flex-direction: column;
        gap: 10px;
    }
}
/* ============================================================
   AGENDA TEMPLATE MODAL
   ============================================================ */

.mf-agenda-template-modal {
    max-width: 1400px;
    width: 95%;
}

    .mf-agenda-template-modal .modal-content {
        border: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .mf-agenda-template-modal .modal-header {
        padding: 14px 20px;
        border-bottom: 1px solid #dee2e6;
        background: #ffffff;
    }

    .mf-agenda-template-modal .modal-title {
        font-size: 20px;
        font-weight: 600;
        color: #17233c;
    }

    .mf-agenda-template-modal .modal-body {
        padding: 20px 35px 25px 35px;
        background: #ffffff;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }


    /* ============================================================
   TEMPLATE DETAILS
   ============================================================ */

    .mf-agenda-template-modal .mf-card {
        margin-bottom: 18px;
    }

    .mf-agenda-template-modal .mf-card-header {
        padding: 10px 0 14px 0;
        border-bottom: 0;
    }

        .mf-agenda-template-modal .mf-card-header h2 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
            color: #17233c;
        }

        .mf-agenda-template-modal .mf-card-header p {
            margin: 4px 0 0 0;
            color: #64748b;
            font-size: 14px;
        }

    .mf-agenda-template-modal .mf-card-body {
        padding: 10px 0 15px 0;
    }


    /* ============================================================
   FORM GRID
   ============================================================ */

    /*
   ROW 1:
   Template Name | Meeting Type

   ROW 2:
   Duration      | Template Status

   ROW 3:
   Description - full width
*/

    .mf-agenda-template-modal .mf-form-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 25px;
        row-gap: 16px;
        align-items: start;
    }


    /* ============================================================
   FORM GROUP
   ============================================================ */

    .mf-agenda-template-modal .mf-form-group {
        width: 100%;
        min-width: 0;
        margin: 0;
    }


        /* ============================================================
   LABEL
   ============================================================ */

        .mf-agenda-template-modal .mf-form-group > label:not(.mf-switch) {
            display: block;
            margin-bottom: 6px;
            font-size: 13px;
            font-weight: 600;
            color: #17233c;
        }


    /* ============================================================
   INPUT / SELECT / TEXTAREA
   ============================================================ */

    .mf-agenda-template-modal .mf-form-control {
        width: 100%;
        min-height: 38px;
        box-sizing: border-box;
    }


    /* ============================================================
   DURATION
   ============================================================ */

    .mf-agenda-template-modal .mf-input-suffix {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

        .mf-agenda-template-modal .mf-input-suffix .mf-form-control {
            flex: 1;
            min-width: 0;
        }

        .mf-agenda-template-modal .mf-input-suffix span {
            white-space: nowrap;
            color: #64748b;
            font-size: 14px;
        }


    /* ============================================================
   TEMPLATE STATUS
   ============================================================ */

    .mf-agenda-template-modal .mf-switch {
        display: flex !important;
        align-items: center;
        gap: 10px;
        width: auto !important;
        min-width: 120px;
        margin: 0 !important;
        padding: 0 !important;
        cursor: pointer;
    }


        /* Checkbox itself */

        .mf-agenda-template-modal .mf-switch input {
            margin: 0 !important;
            flex: 0 0 auto;
            width: 18px;
            height: 18px;
        }


    /* Slider, if your existing switch uses it */

    .mf-agenda-template-modal .mf-switch-slider {
        flex: 0 0 auto;
    }


    /* Active text */

    .mf-agenda-template-modal .mf-switch > span:last-child {
        display: inline-block;
        white-space: nowrap;
        font-size: 14px;
        font-weight: 500;
        color: #17233c;
    }


    /* ============================================================
   DESCRIPTION - FULL WIDTH
   ============================================================ */

    .mf-agenda-template-modal .mf-form-group-full {
        grid-column: 1 / -1;
        width: 100%;
    }

        .mf-agenda-template-modal
        .mf-form-group-full textarea {
            width: 100%;
            min-height: 80px;
            resize: vertical;
        }


    /* ============================================================
   AI INTELLIGENCE
   ============================================================ */

    .mf-agenda-template-modal .mf-ai-master-settings {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mf-agenda-template-modal .mf-checkbox-card {
        min-height: 65px;
        box-sizing: border-box;
    }


    /* ============================================================
   AGENDA ITEMS
   ============================================================ */

/*    .mf-agenda-template-modal .mf-card-header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }*/


    /* ============================================================
   FORM FOOTER
   ============================================================ */

    .mf-agenda-template-modal .mf-form-footer {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        padding: 12px 0 0 0;
    }


    /* ============================================================
   VALIDATION
   ============================================================ */

    .mf-agenda-template-modal .mf-validation-summary {
        margin-bottom: 12px;
    }

    .mf-agenda-template-modal .mf-validation {
        display: block;
        margin-top: 4px;
        font-size: 13px;
    }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .mf-agenda-template-modal {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

        .mf-agenda-template-modal .modal-body {
            padding: 20px;
        }

        .mf-agenda-template-modal .mf-form-grid {
            grid-template-columns: 1fr;
        }

        .mf-agenda-template-modal .mf-form-group-full {
            grid-column: auto;
        }

        .mf-agenda-template-modal .mf-ai-master-settings {
            grid-template-columns: 1fr;
        }
}


@media (max-width: 576px) {

    .mf-agenda-template-modal .modal-body {
        padding: 15px;
    }

    .mf-agenda-template-modal .mf-card-body {
        padding: 5px 0 12px 0;
    }

    .mf-agenda-template-modal .mf-card-header {
        padding: 5px 0 10px 0;
    }

    .mf-agenda-template-modal .mf-card-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .mf-agenda-template-modal .mf-form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

        .mf-agenda-template-modal .mf-form-footer .mf-btn {
            width: 100%;
        }
}
/* ============================================================
   AGENDA ITEMS
============================================================ */

.mf-agenda-items-body {
    padding: 0;
}


/* ============================================================
   GRID HEADER
============================================================ */

.mf-agenda-grid-header,
.mf-agenda-grid-row {
    display: grid;
    grid-template-columns: 80px minmax(300px, 1fr) 220px 90px;
    align-items: center;
}


/* Header */

.mf-agenda-grid-header {
    min-height: 44px;
    padding: 0 20px;
    border-bottom: 1px solid #d9dee7;
    font-size: 13px;
    font-weight: 600;
    color: #172b4d;
}


/* ============================================================
   ROW
============================================================ */

.mf-agenda-grid-row {
    min-height: 72px;
    padding: 10px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}


/* ============================================================
   ORDER
============================================================ */

.mf-agenda-order {
    display: flex;
    align-items: center;
}


.mf-agenda-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    font-weight: 600;
    color: #172b4d;
}


/* ============================================================
   TITLE
============================================================ */

.mf-agenda-title {
    padding-right: 20px;
}


    .mf-agenda-title .mf-form-control {
        width: 100%;
    }


/* ============================================================
   DURATION
============================================================ */

.mf-agenda-duration {
    padding-right: 20px;
}


    .mf-agenda-duration .mf-input-suffix {
        display: flex;
        align-items: center;
        gap: 8px;
    }


    .mf-agenda-duration .mf-form-control {
        width: 130px;
    }


    .mf-agenda-duration .mf-input-suffix span {
        white-space: nowrap;
        color: #64748b;
        font-size: 13px;
    }


/* ============================================================
   ACTION
============================================================ */

.mf-agenda-action {
    display: flex;
    align-items: center;
    justify-content: center;
}


.mf-agenda-delete {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dc3545;
    background: #ffffff;
    color: #dc3545;
    border-radius: 4px;
    cursor: pointer;
}


    .mf-agenda-delete:hover {
        background: #dc3545;
        color: #ffffff;
    }


/* ============================================================
   EMPTY STATE
============================================================ */

.mf-agenda-empty {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .mf-agenda-grid-header {
        display: none;
    }

    .mf-agenda-grid-row {
        grid-template-columns: 50px 1fr 130px 50px;
        padding: 10px;
    }
}
/* ============================================================
   AGENDA ITEMS
   ============================================================ */

.mf-agenda-items-wrapper {
    width: 100%;
    margin-top: 20px;
}


/* Header */

.mf-agenda-item-header {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 220px 90px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #d9dee7;
    font-size: 13px;
    font-weight: 600;
    color: #14213d;
}


/* Row */

.mf-agenda-item-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 220px 90px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #e1e5eb;
    background: #fff;
}


/* Order */

.mf-agenda-order {
    font-weight: 600;
    color: #14213d;
}


/* Title */

.mf-agenda-title {
    min-width: 0;
}


/* Duration */

.mf-agenda-duration {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .mf-agenda-duration .mf-form-control {
        width: 150px;
    }

    .mf-agenda-duration span {
        white-space: nowrap;
        color: #64748b;
        font-size: 14px;
    }


/* Action */

.mf-agenda-action {
    display: flex;
    justify-content: center;
}


/* Delete */

.mf-btn-danger {
    color: #dc2626;
    border: 1px solid #dc2626;
    background: #fff;
}

    .mf-btn-danger:hover {
        color: #fff;
        background: #dc2626;
    }


/* Empty */

.mf-empty-state {
    padding: 30px;
    text-align: center;
    color: #64748b;
    border-bottom: 1px solid #e1e5eb;
}


/* Mobile */

@media (max-width: 800px) {

    .mf-agenda-item-header {
        display: none;
    }

    .mf-agenda-item-row {
        grid-template-columns: 40px minmax(0, 1fr) 160px 50px;
        gap: 8px;
        padding: 10px 5px;
    }

    .mf-agenda-duration .mf-form-control {
        width: 100px;
    }
}
/* ============================================================
   AGENDA ITEMS
   ============================================================ */

.mf-agenda-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* ============================================================
   AGENDA ITEMS GRID
   ============================================================ */

.mf-agenda-items-wrapper {
    width: 100%;
}


/* ============================================================
   GRID HEADER
   ============================================================ */

.mf-agenda-item-header {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 220px 90px;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    border-bottom: 1px solid #d9dee7;
    color: #14213d;
    font-size: 13px;
    font-weight: 600;
}


/* ============================================================
   GRID ROW
   ============================================================ */

.mf-agenda-item-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 220px 90px;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 10px;
    border-bottom: 1px solid #e1e5eb;
}


/* ============================================================
   ORDER
   ============================================================ */

.mf-agenda-order {
    font-weight: 600;
    color: #14213d;
}


/* ============================================================
   TITLE
   ============================================================ */

.mf-agenda-title {
    min-width: 0;
}

    .mf-agenda-title .mf-form-control {
        width: 100%;
    }


/* ============================================================
   DURATION
   ============================================================ */

.mf-agenda-duration {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .mf-agenda-duration .mf-form-control {
        width: 150px;
    }

    .mf-agenda-duration span {
        white-space: nowrap;
        color: #64748b;
        font-size: 13px;
    }


/* ============================================================
   ACTION
   ============================================================ */

.mf-agenda-action {
    display: flex;
    justify-content: center;
}


/* ============================================================
   DELETE BUTTON
   ============================================================ */

.mf-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #dc2626;
    background: #fff;
    border: 1px solid #dc2626;
    border-radius: 4px;
    cursor: pointer;
}

    .mf-btn-danger:hover {
        color: #fff;
        background: #dc2626;
    }


/* ============================================================
   EMPTY STATE
   ============================================================ */

.mf-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    color: #64748b;
    font-size: 14px;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 800px) {

    .mf-agenda-item-header {
        display: none;
    }

    .mf-agenda-item-row {
        grid-template-columns: 40px minmax(0, 1fr) 120px 45px;
        gap: 8px;
    }

    .mf-agenda-duration {
        gap: 4px;
    }

        .mf-agenda-duration .mf-form-control {
            width: 80px;
        }

        .mf-agenda-duration span {
            display: none;
        }
}