/* =============================================
   CARTANTS — dashboard-mentor.css
   ============================================= */

/* ── Kill site header/footer completely ── */
.cartants-dashboard-page .cartants-header,
.cartants-dashboard-page .ch-wrap,
.cartants-dashboard-page header.site-header,
.cartants-dashboard-page footer,
.cartants-dashboard-page .site-footer { display: none !important; }

/* ── Body reset ── */
body.cartants-dashboard-page,
.cartants-dashboard-page #page,
.cartants-dashboard-page .site {
    margin: 0 !important; padding: 0 !important;
    background: #F3F4FE !important;
}

/* ════ LAYOUT ════ */
.md-layout {
    display: flex; min-height: 100vh;
    background: #F3F4FE;
    font-family: 'Montserrat', sans-serif;
}

/* ════ SIDEBAR — fixed, always full viewport height ════ */
.md-sidebar {
    position: fixed; left: 0; top: 0;
    width: 241px; height: 100vh;
    background: #222747;
    display: flex; flex-direction: column;
    padding: 24px 16px; gap: 14px;
    overflow-y: auto; overflow-x: hidden;
    box-sizing: border-box;
    z-index: 300;
    transition: width 0.25s ease;
    scrollbar-width: none;
}
.md-sidebar::-webkit-scrollbar { display: none; }
.md-layout.md-collapsed .md-sidebar { width: 74px; }

/* Logo */
.md-sidebar__logo {
    display: flex; align-items: center;
    padding: 8px; border-radius: 14px;
    height: 60px; flex-shrink: 0;
    overflow: hidden; width: 100%;
}
.md-sidebar__logo img {
    height: 44px; width: auto;
    object-fit: contain; max-width: 100%;
    transition: opacity .2s;
}
/* Collapsed: show small icon version */
.md-layout.md-collapsed .md-sidebar__logo .md-logo-full { display: none; }
.md-sidebar__logo .md-logo-icon { display: none; }
.md-layout.md-collapsed .md-sidebar__logo .md-logo-icon { display: block; width: 36px; height: 36px; object-fit: contain; }

/* User card */
.md-sidebar__user {
    display: flex; align-items: center; gap: 8px;
    padding: 8px; border-radius: 28px;
    border-bottom: 1px solid #515DA9;
    flex-shrink: 0; min-height: 64px;
    width: 100%; box-sizing: border-box;
}
.md-layout.md-collapsed .md-sidebar__user {
    justify-content: center; padding: 8px 4px; gap: 0;
}
.md-sidebar__avatar {
    width: 48px; height: 48px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: #D9D9D9;
}
.md-sidebar__avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.md-sidebar__avatar-ph {
    width:48px; height:48px; border-radius:50%;
    background: linear-gradient(135deg,#7661B4,#0D23AC);
    display:flex; align-items:center; justify-content:center;
    font-size:18px; font-weight:700; color:#fff;
}
.md-sidebar__user-info { flex:1; min-width:0; overflow:hidden; }
.md-sidebar__name {
    display:block; font-weight:600; font-size:16px; color:#fff;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.md-sidebar__role { display:block; font-size:12px; color:#AFB4D7; margin-top:2px; }
.md-sidebar__chevron {
    width:26px; height:26px; border-radius:50%; flex-shrink:0;
    background:none; border:none; color:#AFB4D7; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
}
.md-sidebar__chevron:hover { color:#fff; }
.md-layout.md-collapsed .md-sidebar__user-info,
.md-layout.md-collapsed .md-sidebar__chevron { display:none; }

/* Nav */
.md-nav { display:flex; flex-direction:column; gap:4px; flex:1; }
.md-nav__item {
    display:flex; align-items:center; gap:12px;
    padding:9px 16px; border-radius:22px;
    text-decoration:none; color:#AFB4D7;
    font-size:13px; font-weight:500;
    transition:background .15s, color .15s;
    white-space:nowrap; overflow:hidden;
}
.md-nav__item:hover { background:rgba(81,93,169,.3); color:#fff; }
.md-nav__item.is-active { background:#515DA9; color:#fff; box-shadow:0 2px 8px rgba(60,69,130,.5); }
.md-nav__item img { width:18px; height:18px; flex-shrink:0; filter:brightness(0) invert(1); opacity:.7; }
.md-nav__item.is-active img { opacity:1; }
.md-nav__label { transition:opacity .2s; }
.md-layout.md-collapsed .md-nav__label { opacity:0; width:0; overflow:hidden; }
.md-layout.md-collapsed .md-nav__item { padding:9px; justify-content:center; gap:0; }

/* Divider */
.md-sidebar__divider { height:1px; background:#515DA9; flex-shrink:0; }

/* Logout */
.md-sidebar__logout {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 16px; border-radius: 24px;
    text-decoration: none; font-size: 13px; font-weight: 600;
    color: #DF7697 !important;
    background: rgba(255, 0, 0, 0.06);
    flex-shrink: 0; overflow: hidden;
    transition: background .15s; width: 100%; box-sizing: border-box;
}
.md-sidebar__logout:hover { background: rgba(255,0,0,.1); }
.md-sidebar__logout-left {
    display: flex; align-items: center; gap: 10px;
}
.md-sidebar__logout-left img { width:18px; height:18px; flex-shrink:0; filter:none !important; opacity:1 !important; }
.md-sidebar__logout-arrow { width:14px; height:14px; flex-shrink:0; opacity:.7; filter:none !important; }
.md-layout.md-collapsed .md-sidebar__logout {
    padding: 9px; justify-content: center;
}
.md-layout.md-collapsed .md-sidebar__logout-arrow { display: none; }

/* ════ MAIN — offset by sidebar ════ */
.md-main {
    margin-left: 241px;
    flex: 1; display:flex; flex-direction:column;
    min-height:100vh; min-width:0;
    background:#F3F4FE;
    transition:margin-left .25s ease;
}
.md-layout.md-collapsed .md-main { margin-left:74px; }

/* ════ HEADER ════ */
.md-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(251,251,253,.97);
    border-bottom: 1px solid #EEEFF6;
    backdrop-filter: blur(10px);
    padding: 12px 28px 8px;
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 8px;
}
.md-header__left {
    display:flex; align-items:center; gap:10px; flex:1; min-width:0;
}
.md-header__toggle {
    width:40px; height:40px; flex-shrink:0;
    background:none; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    border-radius:10px; transition:background .15s;
}
.md-header__toggle:hover { background:rgba(74,85,154,.08); }
.md-header__search {
    display:flex; align-items:center; gap:8px;
    padding:8px 14px; border:1px solid #AFB4D7;
    border-radius:14px; background:rgba(255,255,255,.8);
    flex:1; max-width:360px;
}
.md-header__search-input {
    border:none; background:transparent; outline:none;
    font-family:'Montserrat',sans-serif; font-size:13px; color:#222747; width:100%;
}
.md-header__search-input::placeholder { color:#9CA3AF; }
.md-header__center { display:flex; justify-content:center; }
.md-header__date { font-weight:600; font-size:14px; color:#4A559A; white-space:nowrap; }
.md-header__right { display:flex; align-items:center; gap:10px; }
.md-header__sep { width:1px; height:22px; background:#AFB4D7; }

/* Notification bell */
.md-notif-wrap { position:relative; }
.md-notif-btn {
    position:relative; width:40px; height:40px;
    background:none; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    border-radius:10px; transition:background .15s;
}
.md-notif-btn:hover { background:rgba(74,85,154,.08); }
.md-notif-badge {
    position:absolute; top:5px; right:5px;
    width:16px; height:16px; border-radius:50%;
    background:#EF4444; color:#fff;
    font-size:9px; font-weight:700;
    display:flex; align-items:center; justify-content:center;
}
.md-notif-dropdown {
    display:none; position:absolute; top:48px; right:0;
    width:290px; background:#fff;
    border:1px solid #EEEFF6; border-radius:14px;
    box-shadow:0 8px 28px rgba(13,35,172,.12); overflow:hidden; z-index:400;
}
.md-notif-dropdown.is-open { display:block; }
.md-notif-dd__head {
    display:flex; justify-content:space-between; align-items:center;
    padding:11px 14px; border-bottom:1px solid #EEEFF6;
    font-size:13px; font-weight:700; color:#2D335D;
}
.md-notif-dd__head button { background:none; border:none; color:#7661B4; font-size:11px; font-weight:600; cursor:pointer; font-family:'Montserrat',sans-serif; }
.md-notif-dd__list { max-height:260px; overflow-y:auto; }
.md-notif-item { display:flex; gap:8px; padding:10px 14px; border-bottom:1px solid #F3F4FE; }
.md-notif-item.is-unread { background:rgba(118,97,180,.04); }
.md-notif-dot { width:7px; height:7px; border-radius:50%; background:transparent; flex-shrink:0; margin-top:4px; }
.md-notif-item.is-unread .md-notif-dot { background:#7661B4; }
.md-notif-item p { font-size:12px; color:#374151; margin:0 0 2px; }
.md-notif-item span { font-size:10px; color:#9CA3AF; }
.md-notif-empty { padding:20px; text-align:center; font-size:12px; color:#9CA3AF; margin:0; }

/* See Profile button */
.md-header__profile-btn {
    padding:8px 18px; background:#515DA9; border-radius:18px;
    font-family:'Montserrat',sans-serif; font-weight:600; font-size:12px;
    color:#fff !important; text-decoration:none;
    box-shadow:0 2px 8px rgba(60,69,130,.4);
    display:flex; align-items:center;
    transition:background .15s; white-space:nowrap;
}
.md-header__profile-btn:hover { background:#3A4278; }

/* Breadcrumb */
.md-breadcrumb {
    width:100%; display:flex; align-items:center; gap:5px;
    font-size:12px; color:#6B7280;
}
.md-breadcrumb a { color:#6B7280; text-decoration:none; }
.md-breadcrumb a:hover { color:#7661B4; }
.md-breadcrumb span { color:#3A4278; font-weight:600; }

/* ════ CONTENT ════ */
.md-content { padding:22px 26px; display:flex; flex-direction:column; gap:18px; }

/* Welcome */
.md-welcome {
    display:flex; justify-content:space-between; align-items:center;
    padding:18px 22px; background:#fff; border:1px solid #D8DDFC;
    border-radius:14px; flex-wrap:wrap; gap:12px;
}
.md-welcome__title { font-weight:600; font-size:16px; color:#4A559A; margin:0 0 4px; }
.md-welcome__msg { font-size:12px; color:#374151; margin:0; }
.md-welcome__cta { font-size:13px; font-weight:700; color:#7661B4; text-decoration:none; white-space:nowrap; }
.md-strength { display:flex; align-items:center; gap:10px; margin-top:6px; }
.md-strength span { font-size:11px; color:#6B7280; white-space:nowrap; }
.md-strength__bar { width:120px; height:5px; background:#EEEFF6; border-radius:3px; overflow:hidden; }
.md-strength__fill { height:100%; background:linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%); border-radius:3px; }

/* Stats */
.md-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.md-stat {
    display:flex; flex-direction:column; justify-content:space-between;
    padding:14px; gap:12px;
    background:rgba(254,254,254,.5); border:1px solid #F3F4FE;
    border-radius:12px; min-height:130px;
}
.md-stat__top { display:flex; justify-content:space-between; align-items:flex-start; }
.md-stat__label { font-size:12px; font-weight:600; color:#3A4278; line-height:17px; }
.md-stat__icon { width:44px; height:44px; border-radius:13px; background:#515DA9; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.md-stat__icon img { width:24px; height:24px; filter:brightness(0) invert(1); object-fit:contain; }
.md-stat__bot { display:flex; align-items:center; justify-content:space-between; gap:6px; flex-wrap:wrap; }
.md-stat__num { font-size:22px; font-weight:700; color:#222747; }
.md-stat__trend { display:flex; align-items:center; gap:3px; }
.md-stat__pct {
    font-size:12px; font-weight:600;
    background:linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%);
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.md-stat__note { font-size:11px; color:#9CA3AF; }

/* Rows */
.md-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.md-card { background:rgba(254,254,254,.7); border:1px solid #F3F4FE; border-radius:12px; padding:16px; }
.md-card__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.md-card__title { font-size:13px; font-weight:700; color:#2D335D; }
.md-card__link { font-size:11px; color:#7661B4; text-decoration:none; font-weight:600; }

/* Timeline */
.md-date-nav { display:flex; align-items:center; gap:6px; font-size:11px; color:#4A559A; }
.md-date-nav button { background:none; border:none; font-size:15px; color:#4A559A; cursor:pointer; line-height:1; }
.md-tl { display:flex; flex-direction:column; gap:6px; }
.md-tl__hours { display:flex; padding-left:10px; }
.md-tl__hours span { flex:1; font-size:9px; color:#9CA3AF; }
.md-tl__track {
    position:relative; height:100px;
    border-left:2px solid #7661B4; margin-left:10px;
    background:repeating-linear-gradient(90deg,#F3F4FE 0,#F3F4FE 1px,transparent 1px,transparent calc(100%/7));
    border-radius:0 8px 8px 0; overflow:hidden;
}
.md-tl__now { position:absolute; left:14%; top:0; bottom:0; width:2px; background:#7661B4; opacity:.35; }
.md-tl__empty { font-size:11px; color:#9CA3AF; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); white-space:nowrap; margin:0; }

/* Earnings */
.md-earn__sub { font-size:10px; color:#9CA3AF; margin:0 0 10px; }
.md-earn__row { display:flex; gap:24px; margin-bottom:12px; }
.md-earn__lbl { display:block; font-size:10px; color:#9CA3AF; margin-bottom:2px; }
.md-earn__val { font-size:18px; font-weight:700; color:#222747; }
.md-earn__donut { display:flex; justify-content:center; }

/* Chart */
.md-chart-wrap { height:180px; position:relative; }

/* Messages */
.md-msg { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid #F3F4FE; }
.md-msg:last-child { border-bottom:none; }
.md-msg__av { width:32px; height:32px; border-radius:50%; overflow:hidden; flex-shrink:0; background:#C9CDE4; }
.md-msg__av img { width:100%; height:100%; object-fit:cover; }
.md-msg__ph { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#7661B4,#0D23AC); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#fff; }
.md-msg__body { flex:1; min-width:0; }
.md-msg__text { font-size:11px; font-weight:600; color:#2D335D; margin:0 0 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.md-msg__from { font-size:10px; color:#9CA3AF; }
.md-msg__meta { display:flex; flex-direction:column; align-items:flex-end; gap:2px; flex-shrink:0; font-size:9px; color:#9CA3AF; }

/* Pending */
.md-pending { display:flex; flex-direction:column; align-items:center; gap:12px; padding:56px 24px; background:#fff; border-radius:14px; border:1px solid #EEEFF6; max-width:460px; margin:40px auto; text-align:center; }
.md-pending__icon { font-size:40px; }
.md-pending h2 { font-size:18px; color:#2D335D; margin:0; }
.md-pending p { font-size:13px; color:#6B7280; margin:0; }
.md-pending__steps { display:flex; flex-direction:column; gap:6px; text-align:left; width:100%; max-width:300px; }
.md-pending__step { font-size:12px; color:#6B7280; padding:6px 0; border-bottom:1px solid #F3F4FE; }
.md-pending__step.is-done { color:#059669; font-weight:600; }
.md-pending__btn { padding:11px 26px; border-radius:22px; background:linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%); color:#fff !important; text-decoration:none; font-weight:700; font-size:13px; }
.md-pending__note { background:#FEF2F2; border:1px solid #FECACA; color:#991B1B; border-radius:10px; padding:12px 16px; font-size:13px; text-align:left; max-width:340px; }
.md-empty { font-size:11px; color:#9CA3AF; padding:16px; text-align:center; }

/* ── Responsive ── */
@media(max-width:1200px){ .md-stats { grid-template-columns:repeat(2,1fr); } }
@media(max-width:900px){ .md-row { grid-template-columns:1fr; } }
@media(max-width:768px){
    .md-sidebar { left:-241px; }
    .md-layout:not(.md-collapsed) .md-sidebar { left:0; }
    .md-main { margin-left:0 !important; }
    .md-header__center { display:none; }
    .md-stats { grid-template-columns:1fr 1fr; }
}
@media(max-width:480px){ .md-stats { grid-template-columns:1fr; } .md-content { padding:14px; } }

/* ════ SESSIONS PAGE ════ */

/* Stat stars */
.md-stat__stars { display:flex; gap:2px; align-items:center; }

/* Section header */
.mds-section { display:flex; flex-direction:column; gap:14px; }
.mds-section__head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.mds-title { font-size:14px; font-weight:600; color:#3A4278; margin:0; }

/* Filter tabs */
.mds-filters { display:flex; gap:6px; flex-wrap:wrap; }
.mds-filter {
    padding:5px 14px; border-radius:20px; border:1px solid #D8DDFC;
    background:transparent; font-family:'Montserrat',sans-serif;
    font-size:11px; font-weight:600; color:#8A92C5; cursor:pointer;
    transition:all .15s;
}
.mds-filter:hover { border-color:#7661B4; color:#7661B4; }
.mds-filter.is-active { background:#515DA9; border-color:#515DA9; color:#fff; }

/* Empty state */
.mds-empty {
    display:flex; flex-direction:column; align-items:center; gap:12px;
    padding:48px 24px; background:rgba(254,254,254,.7);
    border:1px solid #D8DDFC; border-radius:20px; text-align:center;
}
.mds-empty__text {
    font-size:12px; color:#9CA3AF; margin:0;
    white-space:nowrap; /* single line */
}

/* Table wrapper */
.mds-table-wrap { border-radius:20px; overflow:hidden; border:1px solid #D8DDFC; }

/* Table head */
.mds-table-head {
    display:flex; align-items:center;
    padding:14px 20px; gap:0;
    background:rgba(254,254,254,.25);
    border-bottom:1px solid #D8DDFC;
    border-radius:20px 20px 0 0;
}

/* Row */
.mds-row {
    display:flex; align-items:center;
    padding:14px 20px; gap:0;
    background:rgba(254,254,254,.25);
    border-bottom:1px solid #D8DDFC;
    transition:background .15s;
}
.mds-row:last-child { border-bottom:none; }
.mds-row:hover { background:rgba(214,220,252,.15); }
.mds-row--alt { background:rgba(239,227,255,.25); }
.mds-row--alt:hover { background:rgba(214,220,252,.2); }

/* Columns */
.mds-col { flex:1; min-width:0; display:flex; align-items:center; }
.mds-table-head .mds-col {
    font-size:12px; font-weight:600; color:#8A92C5; justify-content:center;
}
.mds-col--client   { flex:1.4; justify-content:flex-start !important; }
.mds-col--type     { flex:1.2; justify-content:center; }
.mds-col--datetime { flex:1.6; justify-content:center; }
.mds-col--duration { flex:0.9; justify-content:center; }
.mds-col--status   { flex:1.1; justify-content:center; }
.mds-col--rating   { flex:1.1; justify-content:center; }
.mds-col--action   { flex:1.2; justify-content:center; }

/* Client cell */
.mds-client { display:flex; align-items:center; gap:8px; }
.mds-client__av {
    width:32px; height:32px; border-radius:50%;
    overflow:hidden; flex-shrink:0; background:#D9D9D9;
}
.mds-client__av img { width:100%; height:100%; object-fit:cover; }
.mds-client__ph {
    width:32px; height:32px; border-radius:50%;
    background:linear-gradient(135deg,#7661B4,#0D23AC);
    display:flex; align-items:center; justify-content:center;
    font-size:12px; font-weight:700; color:#fff;
}
.mds-client__name { font-size:12px; font-weight:600; color:#2D335D; }

/* Type / Duration / DateTime */
.mds-type,.mds-duration,.mds-datetime { font-size:12px; color:#374151; }

/* Status badge */
.mds-badge {
    display:inline-flex; align-items:center; justify-content:center;
    padding:4px 10px; border-radius:7px;
    font-size:11px; font-weight:600; white-space:nowrap;
}

/* Rating */
.mds-rating { display:flex; align-items:center; gap:3px; }
.mds-rating span { font-size:11px; font-weight:700; color:#2D335D; margin-left:2px; }
.mds-no-rating { font-size:11px; color:#C9CDE4; font-style:italic; }

/* Action buttons */
.mds-action-btn {
    display:inline-flex; align-items:center; justify-content:center;
    padding:7px 16px; border-radius:18px; border:none;
    font-family:'Montserrat',sans-serif; font-size:11px; font-weight:700;
    cursor:pointer; text-decoration:none; transition:opacity .15s, transform .15s;
    white-space:nowrap;
}
.mds-action-btn:hover { opacity:.85; transform:translateY(-1px); }
.mds-action-btn--join    { background:#515DA9; color:#fff !important; }
.mds-action-btn--notes   { background:linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%); color:#fff !important; }
.mds-action-btn--generate{ background:linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%); color:#fff; }
.mds-action-btn--rebook  { background:#F3F4FE; color:#3A4278; border:1px solid #D8DDFC; }
.mds-action-none { font-size:11px; color:#C9CDE4; }

/* Pagination */
.mds-pagination {
    display:flex; align-items:center; gap:6px;
    padding:14px 20px; flex-wrap:wrap;
    background:rgba(254,254,254,.5); border-top:1px solid #D8DDFC;
}
.mds-page-btn {
    display:inline-flex; align-items:center; gap:4px;
    padding:6px 12px; border-radius:10px;
    font-size:12px; font-weight:600; color:#3A4278;
    text-decoration:none; background:#fff; border:1px solid #D8DDFC;
    transition:all .15s;
}
.mds-page-btn:hover { border-color:#7661B4; color:#7661B4; }
.mds-page-btn.is-active { background:#515DA9; border-color:#515DA9; color:#fff; }
.mds-page-btn--nav { background:transparent; border-color:#D8DDFC; }
.mds-page-info { font-size:11px; color:#9CA3AF; margin-left:6px; }

/* Generate Notes Modal */
.mds-modal {
    position:fixed; inset:0; z-index:999;
    background:rgba(13,35,172,.3); backdrop-filter:blur(4px);
    display:none; align-items:center; justify-content:center;
}
.mds-modal[style*="flex"] { display:flex !important; }
.mds-modal__box {
    background:#fff; border-radius:20px; padding:32px 28px;
    max-width:400px; width:100%; text-align:center;
    display:flex; flex-direction:column; gap:10px; align-items:center;
    box-shadow:0 16px 48px rgba(13,35,172,.15);
}
.mds-modal__icon { font-size:36px; }
.mds-modal__box h3 { font-size:16px; font-weight:700; color:#2D335D; margin:0; }
.mds-modal__box p  { font-size:13px; color:#6B7280; margin:0; }
.mds-modal__actions { display:flex; gap:10px; margin-top:6px; }
.mds-modal__btn {
    padding:10px 22px; border-radius:18px; border:1px solid #D8DDFC;
    font-family:'Montserrat',sans-serif; font-size:13px; font-weight:600;
    cursor:pointer; background:#F3F4FE; color:#3A4278; transition:all .15s;
}
.mds-modal__btn--primary { background:linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%); color:#fff; border:none; }
.mds-modal__loading { display:flex; flex-direction:column; align-items:center; gap:10px; }
.mds-modal__loading p { font-size:12px; color:#6B7280; margin:0; }
.mds-spinner {
    width:32px; height:32px; border-radius:50%;
    border:3px solid #EEEFF6; border-top-color:#7661B4;
    animation:mds-spin .7s linear infinite;
}
@keyframes mds-spin { to { transform:rotate(360deg); } }

/* Responsive */
@media(max-width:900px){
    .mds-col--datetime,.mds-col--duration { display:none; }
}
@media(max-width:600px){
    .mds-col--rating { display:none; }
    .mds-section__head { flex-direction:column; align-items:flex-start; }
}
/* Coming soon */
.md-coming-soon {
    display:flex; flex-direction:column; align-items:center; gap:14px;
    padding:80px 24px; text-align:center;
    background:#fff; border-radius:16px; border:1px solid #EEEFF6;
    max-width:420px; margin:40px auto;
}
.md-coming-soon__icon { font-size:48px; }
.md-coming-soon h2 { font-size:20px; color:#2D335D; margin:0; text-transform:capitalize; }
.md-coming-soon p  { font-size:13px; color:#6B7280; margin:0; }

/* ════ BOOKINGS PAGE ════ */

/* Side-by-side request boxes */
.mdb-requests-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

/* Request box */
.mdb-req-box {
    box-sizing: border-box;
    background: rgba(254,254,254,.25); border: 1px solid #D8DDFC;
    border-radius: 14px; padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
}
.mdb-req-box__head { display:flex; justify-content:space-between; align-items:center; }
.mdb-req-box__title { font-size:13px; font-weight:600; color:#3A4278; }
.mdb-view-all {
    font-size:10px; color:#3A4278; text-decoration:underline;
    font-family:'Montserrat',sans-serif;
}
.mdb-req-list {
    border: 2px solid #F3F4FE; border-radius:12px; overflow:hidden;
}
.mdb-req-empty {
    padding:20px; text-align:center; font-size:12px; color:#9CA3AF;
}

/* Request item */
.mdb-req-item {
    display:flex; align-items:center; justify-content:space-between;
    padding:8px; gap:8px;
    background:rgba(0,0,0,.004); border-bottom:1px solid #F3F4FE;
}
.mdb-req-item:last-child { border-bottom:none; }
.mdb-req-item--alt { background:#F3F4FE; }
.mdb-req-item__left { display:flex; align-items:center; gap:8px; flex:1; min-width:0; }
.mdb-req-item__right { display:flex; align-items:center; gap:6px; flex-shrink:0; }

/* Avatar with online dot */
.mdb-req-item__av {
    position:relative; width:32px; height:32px;
    border-radius:50%; overflow:hidden;
    background:#D9D9D9; flex-shrink:0;
}
.mdb-req-item__av img { width:100%; height:100%; object-fit:cover; }
.mdb-req-item__ph {
    width:32px; height:32px; border-radius:50%;
    background:linear-gradient(135deg,#7661B4,#0D23AC);
    display:flex; align-items:center; justify-content:center;
    font-size:12px; font-weight:700; color:#fff;
}
.mdb-req-item__dot {
    position:absolute; bottom:1px; right:1px;
    width:8px; height:8px; border-radius:50%;
    background:#3CDA4F; border:1.5px solid #fff;
}

.mdb-req-item__info { display:flex; flex-direction:column; gap:2px; min-width:0; }
.mdb-req-item__name { font-size:12px; font-weight:600; color:#3A4278; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mdb-req-item__meta { display:flex; align-items:center; gap:4px; flex-wrap:nowrap; }
.mdb-req-item__meta span { font-size:10px; color:#3A4278; white-space:nowrap; }
.mdb-dot-sep { color:#C9CDE4 !important; }
.mdb-req-item__ago { font-size:10px; color:#3A4278; white-space:nowrap; }

/* Accept/Reject buttons */
.mdb-req-btn {
    width:26px; height:26px; border-radius:50%; border:none;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition:all .15s; flex-shrink:0;
}
.mdb-req-btn--accept { background:#ECFEEE; color:#166534; }
.mdb-req-btn--accept:hover { background:#166534; color:#fff; }
.mdb-req-btn--reject { background:#FEF2F2; color:#991B1B; }
.mdb-req-btn--reject:hover { background:#991B1B; color:#fff; }

/* Confirmed item */
.mdb-conf-item {
    display:flex; align-items:center; justify-content:space-between;
    padding:8px; gap:8px; border-bottom:1px solid #F3F4FE;
}
.mdb-conf-item:last-child { border-bottom:none; }
.mdb-conf-item--alt { background:#F3F4FE; }
.mdb-conf-item__left { display:flex; align-items:center; gap:8px; flex:1; min-width:0; }
.mdb-conf-item__date { font-size:10px; color:#3A4278; white-space:nowrap; flex-shrink:0; }

/* View All Bookings button */
.mdb-viewall-btn {
    padding:9px 20px; border-radius:20px;
    border:1.5px solid #D8DDFC; background:#fff;
    font-family:'Montserrat',sans-serif; font-size:12px;
    font-weight:600; color:#3A4278; text-decoration:none;
    transition:all .15s;
}
.mdb-viewall-btn:hover { border-color:#7661B4; color:#7661B4; }

/* Booking History section */
.mdb-history { display:flex; flex-direction:column; gap:0; }

/* Modal */
.mdb-modal {
    position:fixed; inset:0; z-index:999;
    background:rgba(13,35,172,.3); backdrop-filter:blur(4px);
    display:none; align-items:center; justify-content:center; padding:24px;
}
.mdb-modal__box {
    position:relative; background:#fff; border-radius:18px;
    padding:24px; width:100%; max-width:420px;
    display:flex; flex-direction:column; gap:14px;
    box-shadow:0 16px 48px rgba(13,35,172,.15);
}
.mdb-modal__close {
    position:absolute; top:14px; right:14px;
    width:30px; height:30px; border-radius:50%;
    background:#F3F4FE; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
}
.mdb-modal__title { font-size:15px; font-weight:700; color:#2D335D; margin:0; padding-right:28px; }
.mdb-modal__body  { display:flex; flex-direction:column; gap:10px; }
.mdb-modal__row {
    display:flex; justify-content:space-between; align-items:flex-start;
    font-size:12px; padding:8px 0; border-bottom:1px solid #F3F4FE;
}
.mdb-modal__row span { color:#9CA3AF; }
.mdb-modal__row strong { color:#2D335D; text-align:right; max-width:60%; }
.mdb-modal__row--highlight { background:rgba(118,97,180,.05); padding:8px; border-radius:8px; border:none; }
.mdb-modal__row--highlight strong { color:#7661B4; }
.mdb-modal__actions { display:flex; gap:10px; }
.mdb-modal__btn {
    flex:1; padding:10px; border-radius:14px; border:none;
    font-family:'Montserrat',sans-serif; font-size:13px;
    font-weight:700; cursor:pointer; transition:all .15s;
}
.mdb-modal__btn--accept { background:#ECFEEE; color:#166534; border:1px solid #BBF7D0; }
.mdb-modal__btn--accept:hover { background:#166534; color:#fff; }
.mdb-modal__btn--reject { background:#FEF2F2; color:#991B1B; border:1px solid #FECACA; }
.mdb-modal__btn--reject:hover { background:#991B1B; color:#fff; }
.mdb-modal__loading { display:flex; align-items:center; gap:10px; justify-content:center; padding:8px; font-size:12px; color:#6B7280; }

/* Booking badge */
.mdb-badge {
    display:inline-flex; align-items:center; justify-content:center;
    padding:4px 10px; border-radius:7px;
    font-size:11px; font-weight:600; white-space:nowrap;
}

@media(max-width:900px){ .mdb-requests-row { grid-template-columns:1fr; } }

/* ════ CALENDAR PAGE ════ */

.cal-wrap {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px; align-items: start;
}

/* ── Calendar grid box ── */
.cal-grid-box {
    box-sizing: border-box;
    background: rgba(251,251,253,.5);
    border: 1px solid #D8DDFC;
    border-radius: 20px; padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
}
.cal-grid-head {
    display: flex; justify-content: space-between; align-items: center;
}
.cal-month-label { font-size:15px; font-weight:700; color:#2D335D; }
.cal-nav { display:flex; gap:6px; }
.cal-nav-btn {
    width:28px; height:28px; border-radius:50%;
    background:#F3F4FE; border:1px solid #EEEFF6;
    display:flex; align-items:center; justify-content:center;
    text-decoration:none; font-size:14px; color:#3A4278;
    transition:background .15s; line-height:1;
}
.cal-nav-btn:hover { background:#D8DDFC; }

/* Day headers */
.cal-days-header {
    display: grid; grid-template-columns: repeat(7,1fr);
    text-align: center;
}
.cal-days-header span { font-size:11px; font-weight:600; color:#9CA3AF; padding:4px 0; }

/* Day grid */
.cal-days-grid {
    display: grid; grid-template-columns: repeat(7,1fr);
    gap: 6px 2px;
}

/* ── Day cell — Figma: 56×56 circle ──
   But scaled down to fit grid properly  */
.cal-cell {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    width: 44px; height: 44px; /* fixed size, not full column width */
    margin: 0 auto;
    border-radius: 50%;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 500;
    transition: background .15s; position: relative;
    cursor: pointer; flex-shrink: 0;
}
.cal-cell span { line-height:1; }

/* States */
/* Other month — grey out */
.cal-cell--other { pointer-events:none; }
.cal-cell--other span { color:#D1D5DB; }

/* Normal day (no availability set yet) */
.cal-cell--normal span { color:#374151; }
.cal-cell--normal:hover { background:#F3F4FE; }

/* Available day mentor works — light primary as in design */
.cal-cell--avail { background:#D8DDFC; }
.cal-cell--avail span { color:#3A4278; font-weight:600; }
.cal-cell--avail:hover { background:#C7CDFA; }

/* Off days — red background */
.cal-cell--off { background:rgba(239,68,68,.1); }
.cal-cell--off span { color:#EF4444; font-weight:600; }

/* Today — #AFB4D7 per Figma */
.cal-cell--today { background:#AFB4D7 !important; }
.cal-cell--today span { color:#fff !important; font-weight:700; }

/* Selected — #515DA9 per Figma */
.cal-cell--selected { background:#515DA9 !important; }
.cal-cell--selected span { color:#fff !important; font-weight:700; }

/* Session dot */
.cal-cell__dot {
    width:4px; height:4px; border-radius:50%;
    background:#7661B4; flex-shrink:0;
}
.cal-cell--selected .cal-cell__dot,
.cal-cell--today    .cal-cell__dot { background:rgba(255,255,255,.8); }
.cal-cell--avail    .cal-cell__dot { background:#515DA9; }

/* ── Right column ── */
.cal-right-col { display:flex; flex-direction:column; gap:14px; }

/* Day schedule box */
.cal-day-box {
    box-sizing:border-box;
    background:rgba(251,251,253,.5);
    border:1px solid #D8DDFC; border-radius:16px; padding:16px;
    display:flex; flex-direction:column; gap:10px;
}
.cal-day-box__title { font-size:14px; font-weight:700; color:#4A559A; margin:0; }

.cal-day-off {
    display:flex; align-items:center; gap:8px;
    font-size:12px; color:#EF4444; font-weight:600;
    padding:10px 0;
}

/* Schedule list */
.cal-schedule-list { display:flex; flex-direction:column; }
.cal-schedule-item {
    display:flex; justify-content:space-between; align-items:center;
    padding:9px 6px; border-bottom:1px solid #F3F4FE;
}
.cal-schedule-item:last-child { border-bottom:none; }
.cal-schedule-time  { font-size:12px; font-weight:700; color:#2D335D; flex-shrink:0; min-width:40px; }
.cal-schedule-label { font-size:11px; color:#6B7280; text-align:right; }
.cal-schedule-item--open  .cal-schedule-label { color:#059669; font-weight:600; }
.cal-schedule-item--close .cal-schedule-label { color:#EF4444;  font-weight:600; }
.cal-schedule-item--session { background:rgba(118,97,180,.05); border-radius:8px; margin:2px 0; padding:8px 8px; }
.cal-schedule-item--session .cal-schedule-label { color:#3A4278; font-weight:600; }
.cal-schedule-item--no-sess { min-height:40px; display:flex; justify-content:center; align-items:center; }

.cal-no-avail {
    font-size:12px; color:#C9CDE4; text-align:center;
    padding:20px 0; font-style:italic;
}

/* Availability box */
.cal-avail-box {
    box-sizing:border-box;
    background:rgba(251,251,253,.5);
    border:1px solid #D8DDFC; border-radius:16px; padding:16px;
    display:flex; flex-direction:column; gap:10px;
}
.cal-avail-box__head { display:flex; justify-content:space-between; align-items:center; }
.cal-avail-box__title { font-size:13px; font-weight:700; color:#2D335D; }
.cal-avail-edit { font-size:11px; color:#7661B4; text-decoration:underline; font-weight:600; }

.cal-avail-list { display:flex; flex-direction:column; }
.cal-avail-row {
    display:flex; justify-content:space-between; align-items:center;
    padding:8px 0; border-bottom:1px solid #F3F4FE;
}
.cal-avail-row:last-child { border-bottom:none; }
.cal-avail-day   { font-size:12px; color:#2D335D; font-weight:500; }
.cal-avail-hours { font-size:12px; color:#6B7280; }
.cal-avail-off   { font-size:12px; color:#EF4444; font-weight:600; }

.cal-avail-empty {
    font-size:12px; color:#C9CDE4; text-align:center;
    padding:16px 0; font-style:italic;
}

@media(max-width:1024px){ .cal-wrap { grid-template-columns:1fr; } }

/* ── Bookings icon fix ── */
.md-stat__icon--bookings { background:linear-gradient(107.49deg,#7661B4 7.25%,#0D23AC 95.34%) !important; }

@media(max-width:1024px){ .cal-wrap { grid-template-columns:1fr; } }

/* ════ TIME-OFF PAGE ════ */

/* Toolbar */
.to-toolbar {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.to-select-wrap {
    position: relative; display: inline-flex; align-items: center;
}
.to-select-wrap svg {
    position: absolute; right: 10px; pointer-events: none;
}
.to-select {
    appearance: none; -webkit-appearance: none;
    padding: 10px 36px 10px 14px; border-radius: 14px;
    border: 1px solid #D8DDFC; background: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    color: #2D335D; cursor: pointer; outline: none;
    transition: border-color .15s; min-width: 160px;
}
.to-select:focus { border-color: #7661B4; }
.to-add-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: 14px;
    background: #515DA9; border: none; color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 700; cursor: pointer;
    transition: background .15s; margin-left: auto;
}
.to-add-btn:hover { background: #3A4278; }

/* Calendar box */
.to-cal-box {
    box-sizing: border-box;
    background: rgba(251,251,253,.5);
    border: 1px solid #D8DDFC; border-radius: 20px;
    padding: 24px; display: flex; flex-direction: column; gap: 16px;
}

/* Days grid — full width, larger cells */
.to-days-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 8px 4px;
}
.to-cell {
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    gap: 3px; padding: 12px 8px 8px;
    border-radius: 12px; cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; font-weight: 500;
    transition: background .15s; min-height: 64px;
    position: relative;
}
.to-cell:hover { background: #F3F4FE; }
.to-cell span   { color: #374151; line-height: 1; font-weight: 500; }
.to-cell--other { pointer-events: none; }
.to-cell--other span { color: #D1D5DB; }

/* Today */
.to-cell--today { background: #F3F4FE; }
.to-cell--today span { color: #515DA9; font-weight: 700; }

/* Available day */
.to-cell--avail span { color: #3A4278; }

/* Off day */
.to-cell--off { background: rgba(239,68,68,.06); }
.to-cell--off span { color: #EF4444; font-weight: 600; }

/* Session dot */
.to-cell__dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #7661B4;
}

/* Off label badge */
.to-cell__badge {
    font-size: 9px; font-weight: 600; color: #EF4444;
    background: rgba(239,68,68,.1); border-radius: 4px;
    padding: 2px 5px; white-space: nowrap; max-width: 100%;
    overflow: hidden; text-overflow: ellipsis;
}

/* Time-off list */
.to-list-box { display: flex; flex-direction: column; gap: 10px; }
.to-list-title { font-size:13px; font-weight:700; color:#3A4278; margin:0; }

/* Form fields in modal */
.to-field { display: flex; flex-direction: column; gap: 5px; }
.to-field label { font-size: 12px; font-weight: 600; color: #374151; }
.to-input {
    width: 100%; height: 40px; padding: 8px 12px;
    border: 1px solid #D8DDFC; border-radius: 12px;
    font-family: 'Montserrat', sans-serif; font-size: 13px;
    color: #2D335D; outline: none; box-sizing: border-box;
    transition: border-color .15s;
}
.to-input:focus { border-color: #7661B4; }
.to-input::placeholder { color: #9CA3AF; }

/* ════ MESSAGES PAGE ════ */

.msg-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; height: calc(100vh - 200px); min-height: 480px;
}

/* ── Left panel ── */
.msg-left {
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid #D8DDFC; border-radius: 14px;
    overflow: hidden; background: rgba(254,254,254,.7);
}

/* Search */
.msg-search {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; margin: 8px;
    border: 1px solid #AFB4D7; border-radius: 14px;
    background: #fff; flex-shrink: 0;
}
.msg-search input {
    flex: 1; border: none; background: transparent; outline: none;
    font-family: 'Montserrat',sans-serif; font-size: 12px; color: #2D335D;
}
.msg-search input::placeholder { color: #9CA3AF; }

/* Tabs */
.msg-tabs {
    display: flex; gap: 0; padding: 0 14px;
    border-bottom: 1px solid #AFB4D7;
    flex-shrink: 0;
}
.msg-tab {
    padding: 12px 20px; font-size: 12px; font-weight: 600;
    color: #AFB4D7; text-decoration: none;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}
.msg-tab.is-active { color: #3A4278; border-bottom-color: #515DA9; }
.msg-tab:hover { color: #3A4278; }

/* Conversation list */
.msg-conv-list { flex: 1; overflow-y: auto; }
.msg-conv-empty { padding: 32px; text-align: center; font-size: 12px; color: #9CA3AF; }
.msg-hidden { display: none !important; }

/* Conversation item */
.msg-conv-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; text-decoration: none;
    border-bottom: 1px solid #F3F4FE;
    transition: background .15s; cursor: pointer;
}
.msg-conv-item:hover { background: #F8F9FF; }
.msg-conv-item.is-active { background: rgba(81,93,169,.06); border-left: 3px solid #515DA9; }
.msg-conv-av { position: relative; width: 38px; height: 38px; flex-shrink: 0; }
.msg-conv-av img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.msg-conv-ph {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg,#7661B4,#0D23AC);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
}
.msg-conv-ph--sm { width: 32px !important; height: 32px !important; font-size: 12px !important; }
.msg-conv-dot {
    position: absolute; bottom: 1px; right: 1px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #515DA9; border: 2px solid #fff;
}
.msg-conv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.msg-conv-name    { font-size: 12px; font-weight: 700; color: #2D335D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-conv-preview { font-size: 11px; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-conv-sub     { font-size: 10px; color: #9CA3AF; }
.msg-conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.msg-conv-time { font-size: 10px; color: #9CA3AF; }
.msg-conv-badge {
    width: 16px; height: 16px; border-radius: 50%;
    background: #515DA9; color: #fff;
    font-size: 9px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ── Right panel ── */
.msg-right {
    display: flex; flex-direction: column;
    border: 1px solid #D8DDFC; border-radius: 14px;
    overflow: hidden; background: rgba(254,254,254,.7);
}
.msg-no-conv {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
}
.msg-no-conv p { font-size: 12px; color: #9CA3AF; }

/* Chat header */
.msg-chat-head {
    padding: 12px 14px; border-bottom: 1px solid #F3F4FE;
    background: #fff; flex-shrink: 0;
}
.msg-chat-user { display: flex; align-items: center; gap: 10px; }
.msg-chat-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.msg-chat-av img { width: 100%; height: 100%; object-fit: cover; }
.msg-chat-user-info { display: flex; flex-direction: column; gap: 1px; }
.msg-chat-name { font-size: 13px; font-weight: 700; color: #2D335D; }
.msg-chat-status { font-size: 11px; color: #7661B4; }

/* Messages body */
.msg-chat-body {
    flex: 1; overflow-y: auto; padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
    scroll-behavior: smooth;
}
.msg-chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; }
.msg-chat-empty p { font-size: 12px; color: #9CA3AF; }

/* Bubbles */
.msg-bubble-wrap {
    display: flex; align-items: flex-end; gap: 6px;
    max-width: 80%;
}
.msg-bubble-wrap--mine { align-self: flex-end; flex-direction: row-reverse; }
.msg-bubble-av { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.msg-bubble-av img { width: 100%; height: 100%; object-fit: cover; }

.msg-bubble {
    padding: 10px 14px; border-radius: 16px;
    max-width: 100%; word-break: break-word;
    display: flex; flex-direction: column; gap: 4px;
}
.msg-bubble p { font-size: 13px; line-height: 20px; margin: 0; }
.msg-bubble-time { font-size: 9px; color: rgba(255,255,255,.6); align-self: flex-end; }

.msg-bubble--theirs {
    background: #F3F4FE; border-bottom-left-radius: 4px;
}
.msg-bubble--theirs p { color: #2D335D; }
.msg-bubble--theirs .msg-bubble-time { color: #9CA3AF; }

.msg-bubble--mine {
    background: linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%);
    border-bottom-right-radius: 4px;
}
.msg-bubble--mine p { color: #fff; }

/* Attachment link */
.msg-attachment {
    display: flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600;
    color: inherit; text-decoration: underline; margin-bottom: 2px;
}

.msg-sending { opacity: .6; }

/* Send bar */
.msg-send-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; border-top: 1px solid #F3F4FE;
    background: #fff; flex-shrink: 0;
}
.msg-send-input {
    flex: 1; height: 40px; padding: 8px 14px;
    border: 1px solid #D8DDFC; border-radius: 20px;
    font-family: 'Montserrat',sans-serif; font-size: 13px;
    color: #2D335D; outline: none; background: #F8F9FF;
    transition: border-color .15s;
}
.msg-send-input:focus { border-color: #7661B4; background: #fff; }
.msg-send-input::placeholder { color: #9CA3AF; }
.msg-attach-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: #F3F4FE; display: flex; align-items: center;
    justify-content: center; cursor: pointer; flex-shrink: 0;
    transition: background .15s;
}
.msg-attach-btn:hover { background: #D8DDFC; }
.msg-send-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: #515DA9; border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0; transition: background .15s;
}
.msg-send-btn:hover { background: #3A4278; }

@media(max-width:900px){ .msg-wrap { grid-template-columns:1fr; height:auto; } }

/* ════ TRANSACTIONS PAGE ════ */

/* Charts row */
.txn-charts-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.txn-bar-card, .txn-activity-card { min-height: 220px; }

/* Horizontal bar chart */
.txn-bars { display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.txn-bar-row { display: flex; align-items: center; gap: 10px; }
.txn-bar-label {
    font-size: 11px; color: #6B7280; width: 90px;
    flex-shrink: 0; text-align: right;
}
.txn-bar-track {
    flex: 1; height: 22px; background: #F3F4FE;
    border-radius: 6px; overflow: hidden;
}
.txn-bar-fill {
    height: 100%; background: #515DA9;
    border-radius: 6px; transition: width .6s ease;
    min-width: 4px;
}
.txn-bar-val {
    font-size: 11px; font-weight: 700; color: #2D335D;
    width: 60px; flex-shrink: 0;
}

/* Recent activity row */
.txn-activity-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid #F3F4FE;
}
.txn-activity-row:last-child { border-bottom: none; }

/* Table columns */
.txn-col--id      { flex: 0.9; }
.txn-col--client  { flex: 1.4; }
.txn-col--date    { flex: 0.9; justify-content: center; }
.txn-col--service { flex: 1.3; justify-content: center; }
.txn-col--status  { flex: 1.2; justify-content: center; }
.txn-col--amount  { flex: 1.0; justify-content: flex-end; }

@media(max-width:900px){ .txn-charts-row { grid-template-columns:1fr; } }

/* ════ PAYOUTS PAGE ════ */

/* Banner */
.pay-banner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 28px; background: #fff;
    border: 1px solid #D8DDFC; border-radius: 16px;
    flex-wrap: wrap; gap: 16px;
}
.pay-banner__left { display: flex; align-items: center; gap: 24px; }
.pay-banner__label { font-size: 13px; color: #6B7280; margin: 0 0 4px; }
.pay-banner__amount { font-size: 28px; font-weight: 800; color: #2D335D; margin: 0; }
.pay-banner__note { font-size: 11px; color: #EF4444; margin: 4px 0 0; }
.pay-banner__right { display: flex; align-items: center; gap: 16px; }
.pay-withdraw-btn {
    padding: 10px 32px; border-radius: 24px;
    border: 1.5px solid #515DA9; background: transparent;
    font-family: 'Montserrat',sans-serif; font-weight: 700;
    font-size: 13px; color: #515DA9; cursor: pointer;
    transition: all .15s;
}
.pay-withdraw-btn:hover:not(.is-disabled) { background: #515DA9; color: #fff; }
.pay-withdraw-btn.is-disabled { opacity: .5; cursor: not-allowed; border-color: #C9CDE4; color: #9CA3AF; font-size: 11px; }

/* Mid row */
.pay-mid-row {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px;
}

/* Payment method card */
.pay-method-card {
    background: rgba(254,254,254,.7); border: 1px solid #D8DDFC;
    border-radius: 14px; padding: 18px;
    display: flex; flex-direction: column; gap: 12px;
}
.pay-method-card__head { display: flex; justify-content: space-between; align-items: center; }
.pay-method-card__title { font-size: 15px; font-weight: 700; color: #2D335D; }
.pay-method-edit {
    font-size: 12px; color: #7661B4; background: none; border: none;
    text-decoration: underline; cursor: pointer; font-family: 'Montserrat',sans-serif;
    font-weight: 600;
}
.pay-method-empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pay-method-empty p { font-size: 12px; color: #9CA3AF; margin: 0; }
.pay-method-rows { display: flex; flex-direction: column; gap: 0; }
.pay-method-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid #F3F4FE; font-size: 12px;
}
.pay-method-row:last-child { border-bottom: none; }
.pay-method-row span { color: #9CA3AF; }
.pay-method-row strong { color: #2D335D; text-align: right; max-width: 60%; }

/* Donut cards */
.pay-donut-card { display: flex; flex-direction: column; gap: 10px; }
.pay-earn-row { display: flex; gap: 20px; }

@media(max-width:1100px){ .pay-mid-row { grid-template-columns: 1fr 1fr; } }
@media(max-width:700px)  { .pay-mid-row { grid-template-columns: 1fr; } }

/* ════ KYC PAGE ════ */

.kyc-wrap { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.kyc-page-title { font-size: 24px; font-weight: 700; color: #2D335D; margin: 0; }

/* Status cards */
.kyc-status-card {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 24px; border-radius: 16px; border: 1px solid;
}
.kyc-status-card--approved { background: #ECFEEE; border-color: #BBF7D0; }
.kyc-status-card--pending  { background: #FEFBEC; border-color: #FDE68A; }
.kyc-status-card--rejected { background: #FEF2F2; border-color: #FECACA; }

.kyc-status-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg,#059669,#34D399);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kyc-status-icon--pending  { background: linear-gradient(135deg,#D97706,#F59E0B); }
.kyc-status-icon--rejected { background: linear-gradient(135deg,#DC2626,#EF4444); }

.kyc-status-text h2 { font-size: 18px; font-weight: 700; color: #2D335D; margin: 0 0 6px; }
.kyc-status-text p  { font-size: 13px; color: #6B7280; margin: 0 0 4px; line-height: 20px; }
.kyc-status-meta    { font-size: 12px !important; color: #9CA3AF !important; }
.kyc-reject-note {
    margin-top: 8px; padding: 10px 14px;
    background: rgba(239,68,68,.08); border-radius: 10px;
    font-size: 12px; color: #991B1B; line-height: 18px;
}

/* Steps */
.kyc-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; padding: 16px 0;
}
.kyc-step { display: flex; align-items: center; flex-direction: column; gap: 6px; }
.kyc-step span { font-size: 11px; color: #9CA3AF; font-weight: 500; }
.kyc-step.is-done span, .kyc-step.is-active span { color: #3A4278; }
.kyc-step__dot {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg,#7661B4,#0D23AC);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kyc-step__dot--active { background: #FFC300; }
.kyc-step__dot--empty  { background: #EEEFF6; border: 2px solid #D8DDFC; }
.kyc-step-line { width: 80px; height: 2px; background: #D8DDFC; flex-shrink: 0; margin: 0 4px; margin-bottom: 20px; }

/* Form card */
.kyc-form-card {
    background: #fff; border: 1px solid #D8DDFC; border-radius: 20px;
    padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.kyc-form-title { font-size: 18px; font-weight: 700; color: #3A4278; margin: 0; }
.kyc-field { display: flex; flex-direction: column; gap: 8px; }
.kyc-field label { font-size: 13px; font-weight: 600; color: #374151; }

/* Drop zone */
.kyc-dropzone {
    border: 2px dashed #AFB4D7; border-radius: 16px;
    padding: 48px 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .15s, background .15s;
    min-height: 220px;
}
.kyc-dropzone:hover,
.kyc-dropzone--over { border-color: #7661B4; background: rgba(118,97,180,.04); }
.kyc-dropzone--filled { border-color: #059669; background: rgba(5,150,105,.04); }

#kyc-drop-content {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.kyc-drop-title { font-size: 15px; font-weight: 700; color: #2D335D; margin: 0; }
.kyc-drop-sub   { font-size: 12px; color: #6B7280; margin: 0; }
.kyc-drop-hint  { font-size: 11px; color: #9CA3AF; margin: 0; }

/* File preview */
.kyc-file-preview {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: #ECFEEE;
    border: 1px solid #BBF7D0; border-radius: 12px;
    font-size: 13px; color: #166534;
}
.kyc-file-preview span { flex: 1; }

.kyc-err {
    padding: 10px 14px; background: #FEF2F2;
    border: 1px solid #FECACA; border-radius: 10px;
    font-size: 12px; color: #991B1B;
}

/* Submit button */
.kyc-submit-btn {
    width: 100%; height: 52px; border-radius: 24px; border: none;
    background: linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%);
    font-family: 'Montserrat',sans-serif; font-weight: 700;
    font-size: 16px; color: #fff; cursor: pointer;
    transition: opacity .15s, transform .15s;
}
.kyc-submit-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ════ SETTINGS PAGE ════ */

.set-wrap { display:flex; flex-direction:column; gap:20px; }
.set-title { font-size:22px; font-weight:700; color:#2D335D; margin:0; }
.set-success { padding:10px 14px; background:#ECFEEE; border:1px solid #BBF7D0; border-radius:10px; font-size:12px; color:#166534; }
.set-error   { padding:10px 14px; background:#FEF2F2; border:1px solid #FECACA; border-radius:10px; font-size:12px; color:#991B1B; }

/* Sub-nav */
.set-subnav {
    display:flex; gap:4px; flex-wrap:wrap;
    border-bottom:1.5px solid #D8DDFC; padding-bottom:0;
}
.set-subnav__item {
    padding:10px 16px; font-size:12px; font-weight:600;
    color:#9CA3AF; text-decoration:none;
    border-bottom:2px solid transparent; margin-bottom:-1.5px;
    transition:color .15s, border-color .15s; white-space:nowrap;
}
.set-subnav__item:hover { color:#3A4278; }
.set-subnav__item.is-active { color:#3A4278; border-bottom-color:#515DA9; }

/* Sidebar settings arrow */
.md-nav__item--has-sub { position:relative; }
.md-nav__item--has-sub::after {
    content:'›'; position:absolute; right:12px;
    font-size:14px; color:#AFB4D7; line-height:1;
}

/* Two-col layout */
.set-two-col { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.set-right-col { display:flex; flex-direction:column; gap:16px; }

/* Cards */
.set-card { background:#fff; border:1px solid #D8DDFC; border-radius:16px; padding:20px; display:flex; flex-direction:column; gap:14px; }
.set-card__title { font-size:14px; font-weight:700; color:#2D335D; margin:0; }
.set-fields { display:flex; flex-direction:column; gap:12px; }
.set-field  { display:flex; flex-direction:column; gap:5px; }
.set-field label { font-size:12px; font-weight:600; color:#374151; }
.set-input {
    width:100%; height:40px; padding:8px 12px;
    border:1px solid #D8DDFC; border-radius:12px;
    font-family:'Montserrat',sans-serif; font-size:12px; color:#2D335D;
    outline:none; box-sizing:border-box; background:#F8F9FF;
    transition:border-color .15s, background .15s;
}
.set-input:focus { border-color:#7661B4; background:#fff; }
.set-input::placeholder { color:#9CA3AF; }
.set-textarea {
    width:100%; min-height:80px; padding:10px 12px;
    border:1px solid #D8DDFC; border-radius:12px;
    font-family:'Montserrat',sans-serif; font-size:12px; color:#2D335D;
    outline:none; resize:vertical; box-sizing:border-box; background:#F8F9FF;
    transition:border-color .15s;
}
.set-textarea--sm { min-height:60px; }
.set-textarea:focus { border-color:#7661B4; background:#fff; }

/* Photo zone */
.set-photo-zone {
    display:flex; flex-direction:column; align-items:center; gap:8px;
    padding:24px; border:2px dashed #AFB4D7; border-radius:14px;
    cursor:pointer; transition:border-color .15s, background .15s;
    text-align:center;
}
.set-photo-zone:hover { border-color:#7661B4; background:rgba(118,97,180,.04); }
.set-photo-preview { width:72px; height:72px; border-radius:50%; object-fit:cover; }
.set-photo-placeholder {
    width:72px; height:72px; border-radius:50%;
    background:#F3F4FE; display:flex; align-items:center; justify-content:center;
}
.set-photo-label { font-size:12px; font-weight:700; color:#3A4278; margin:0; }
.set-photo-sub   { font-size:10px; color:#9CA3AF; margin:0; }

/* Skills */
.set-skills-wrap {
    display:flex; flex-wrap:wrap; gap:6px; align-items:center;
    padding:6px; border:1px solid #D8DDFC; border-radius:12px;
    background:#F8F9FF; min-height:40px;
}
.set-skill-chip {
    display:inline-flex; align-items:center; gap:4px;
    padding:4px 10px; background:#D8DDFC; border-radius:20px;
    font-size:11px; font-weight:600; color:#3A4278;
}
.set-skill-chip button { background:none; border:none; color:#EF4444; cursor:pointer; font-size:14px; line-height:1; padding:0; }
.set-skill-input { border:none; background:transparent; outline:none; font-size:11px; color:#3A4278; width:80px; font-family:'Montserrat',sans-serif; }

/* Toggle switch */
.set-toggle { position:relative; display:inline-block; width:44px; height:24px; flex-shrink:0; }
.set-toggle input { opacity:0; width:0; height:0; }
.set-toggle__track {
    position:absolute; inset:0; border-radius:12px; background:#D8DDFC;
    cursor:pointer; transition:background .2s;
}
.set-toggle input:checked + .set-toggle__track { background:#515DA9; }
.set-toggle__track::before {
    content:''; position:absolute; width:18px; height:18px; border-radius:50%;
    background:#fff; bottom:3px; left:3px; transition:transform .2s;
    box-shadow:0 1px 3px rgba(0,0,0,.2);
}
.set-toggle input:checked + .set-toggle__track::before { transform:translateX(20px); }
.set-toggle-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid #F3F4FE; gap:12px; }
.set-toggle-row:last-child { border-bottom:none; }
.set-toggle-label { display:block; font-size:12px; font-weight:600; color:#2D335D; }
.set-toggle-sub   { display:block; font-size:10px; color:#9CA3AF; margin-top:2px; }

/* Day/time rows */
.set-day-row  { display:flex; align-items:center; gap:12px; padding:6px 0; }
.set-day-label{ font-size:13px; font-weight:600; color:#2D335D; min-width:80px; }
.set-time-row { display:flex; align-items:center; gap:8px; padding:4px 0; transition:opacity .2s; }
.set-day-mini { font-size:11px; font-weight:600; color:#6B7280; min-width:28px; }

/* Password eye */
.set-pw-wrap { position:relative; }
.set-pw-wrap .set-input { padding-right:40px; }
.set-pw-eye { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; color:#9CA3AF; padding:4px; }

/* Certs list */
.set-cert-list { display:flex; flex-direction:column; gap:8px; }
.set-cert-item { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#fff; border:1px solid #D8DDFC; border-radius:12px; gap:12px; }
.set-cert-item__info { display:flex; flex-direction:column; gap:2px; flex:1; }
.set-cert-item__name { font-size:13px; font-weight:700; color:#2D335D; }
.set-cert-item__org  { font-size:11px; color:#6B7280; }
.set-cert-item__link { font-size:11px; color:#7661B4; text-decoration:underline; }

/* Sidebar settings arrow */
.md-nav__item.is-settings-parent { position:relative; }

@media(max-width:900px){ .set-two-col { grid-template-columns:1fr; } .set-subnav { gap:0; overflow-x:auto; } }

/* ════ SETTINGS — Additional ════ */

/* Save button spacing */
.set-save-wrap { margin-top: 24px; padding-top: 16px; border-top: 1px solid #F3F4FE; }

/* Toast notification */
.set-toast {
    position: fixed; top: 20px; right: 24px; z-index: 9999;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 14px;
    background: linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%);
    color: #fff; font-family: 'Montserrat',sans-serif;
    font-size: 13px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(13,35,172,.25);
    animation: toastIn .3s ease;
    max-width: 340px;
}
.set-toast--error { background: linear-gradient(107.49deg,#EF4444 7%,#DC2626 95%); }
.set-toast--hide  { animation: toastOut .4s ease forwards; }
@keyframes toastIn  { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(40px); } }

/* Settings sidebar sub-nav */
.md-nav__has-sub { display: flex; flex-direction: column; }
.md-nav__toggle {
    width: 100%; background: none; border: none; cursor: pointer;
    text-align: left; font-family: inherit; padding: 0;
}
.md-nav__sub {
    display: none; flex-direction: column; gap: 2px;
    padding-left: 36px; margin-top: 4px;
}
.md-nav__has-sub.is-open .md-nav__sub   { display: flex; }
.md-nav__has-sub.is-open .md-nav__arrow { transform: rotate(180deg); }
.md-nav__sub-item {
    display: block; padding: 6px 12px; border-radius: 10px;
    font-size: 11px; font-weight: 600; color: #AFB4D7;
    text-decoration: none; transition: color .15s, background .15s;
}
.md-nav__sub-item:hover    { color: #fff; background: rgba(81,93,169,.3); }
.md-nav__sub-item.is-active{ color: #fff; background: rgba(81,93,169,.5); }
.md-layout.md-collapsed .md-nav__sub { display: none !important; }

/* Experience list */
.set-exp-list { display: flex; flex-direction: column; gap: 8px; }
.set-exp-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; background: #fff;
    border: 1px solid #D8DDFC; border-radius: 12px;
}
.set-exp-item__icon { flex-shrink: 0; }
.set-exp-item__icon-ph {
    width: 36px; height: 36px; border-radius: 10px;
    background: #F3F4FE; display: flex; align-items: center; justify-content: center;
}
.set-exp-item__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.set-exp-item__pos  { font-size: 13px; font-weight: 700; color: #2D335D; }
.set-exp-item__co   { font-size: 11px; color: #6B7280; }
.set-exp-item__date { font-size: 10px; color: #9CA3AF; }

/* Icon picker */
.set-icon-picker { display: flex; align-items: flex-start; gap: 10px; }
.set-icon-preview {
    width: 44px; height: 44px; border-radius: 12px;
    background: #F3F4FE; border: 1px solid #D8DDFC;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.set-icon-search-wrap { flex: 1; position: relative; }
.set-icon-grid {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff; border: 1px solid #D8DDFC; border-radius: 12px;
    padding: 8px; display: flex; flex-wrap: wrap; gap: 6px;
    max-height: 160px; overflow-y: auto; z-index: 50;
    box-shadow: 0 4px 16px rgba(13,35,172,.1);
}
.set-icon-btn {
    width: 40px; height: 40px; border-radius: 8px;
    border: 1px solid #F3F4FE; background: #F8F9FF;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .15s, background .15s;
    padding: 0;
}
.set-icon-btn:hover { border-color: #7661B4; background: #F3F4FE; }
.set-current-check { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6B7280; margin-top: 4px; cursor: pointer; }

/* Mentor profile cert items */
.mp-cert-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #F3F4FE;
}
.mp-cert-item:last-child { border-bottom: none; }
.mp-cert-item__icon { flex-shrink: 0; margin-top: 2px; }
.mp-cert-item__text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mp-cert-item__name { font-size: 14px; font-weight: 700; color: #2D335D; }
.mp-cert-item__org  { font-size: 12px; color: #7661B4; }
.mp-cert-item__date { font-size: 11px; color: #9CA3AF; }
.mp-cert-item__link { font-size: 11px; color: #7661B4; text-decoration: underline; flex-shrink: 0; }

/* ── Experience date inputs ── */
input[type="month"].set-input {
    color: #2D335D; font-family: 'Montserrat', sans-serif; font-size: 12px;
}
input[type="month"].set-input::-webkit-calendar-picker-indicator {
    filter: invert(40%) sepia(30%) saturate(400%) hue-rotate(200deg);
    cursor: pointer; opacity: .6;
}
input[type="month"].set-input:disabled {
    background: #F3F4F6; opacity: .35; cursor: not-allowed;
    pointer-events: none;
}

/* ── Current checkbox label ── */
.set-current-check {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: #6B7280; margin-top: 6px; cursor: pointer;
}
.set-current-check input[type="checkbox"] { accent-color: #515DA9; width: 14px; height: 14px; }

/* ── Icon picker improvements ── */
.set-icon-grid {
    max-height: 180px; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: #D8DDFC transparent;
}
.set-icon-btn img { display: block; }

/* ── Toast — fix display:flex for success ── */
.set-toast { display: flex !important; }

/* ════ EXPERIENCE TAB ════ */

/* Icon row */
.exp-icon-row {
    display: flex; align-items: flex-start; gap: 10px;
}
.exp-icon-preview-box {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 12px; border: 1.5px solid #D8DDFC;
    background: #F8F9FF;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.exp-icon-preview-box img { width: 28px; height: 28px; object-fit: contain; }

/* Search results dropdown */
.exp-icon-results {
    display: none;
    flex-wrap: wrap; gap: 4px;
    padding: 8px; margin-top: 4px;
    background: #fff; border: 1px solid #D8DDFC; border-radius: 12px;
    max-height: 160px; overflow-y: auto;
    box-shadow: 0 4px 16px rgba(13,35,172,.1);
    position: absolute; left: 0; right: 0; top: calc(100% + 4px);
    z-index: 100;
}
.exp-icon-btn {
    width: 38px; height: 38px; border-radius: 8px;
    border: 1px solid #F3F4FE; background: #F8F9FF;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s; padding: 0;
}
.exp-icon-btn:hover { border-color: #7661B4; background: #F3F4FE; transform: scale(1.05); }
.exp-icon-btn img { pointer-events: none; display: block; }
.exp-no-results { font-size: 11px; color: #9CA3AF; padding: 8px; }

/* Upload button */
.exp-upload-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 12px;
    border: 1px solid #D8DDFC; background: #F8F9FF;
    font-family: 'Montserrat',sans-serif; font-size: 11px;
    font-weight: 600; color: #3A4278; cursor: pointer;
    white-space: nowrap; transition: all .15s;
    height: 40px;
}
.exp-upload-btn:hover { border-color: #7661B4; color: #7661B4; background: #fff; }

/* Date inputs */
.exp-date-input {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    color: #2D335D !important;
    cursor: pointer;
}
.exp-date-input::-webkit-calendar-picker-indicator {
    filter: invert(35%) sepia(25%) saturate(500%) hue-rotate(200deg);
    cursor: pointer; opacity: .7;
}
.exp-date-input::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.exp-date-input::-webkit-datetime-edit-month-field,
.exp-date-input::-webkit-datetime-edit-year-field { color: #2D335D; }
.exp-date-frozen {
    background: #F3F4F6 !important;
    color: #9CA3AF !important;
    pointer-events: none;
    cursor: not-allowed !important;
}
.exp-date-frozen::-webkit-calendar-picker-indicator { display: none; }

/* Current checkbox */
.exp-current-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 500; color: #6B7280;
    margin-top: 6px; cursor: pointer;
}
.exp-current-label input[type="checkbox"] {
    accent-color: #515DA9; width: 14px; height: 14px; cursor: pointer;
}

/* ════ SESSION SERVICES ════ */
.mss-section { display:flex; flex-direction:column; gap:14px; }
.mss-section__head { display:flex; align-items:center; justify-content:space-between; }

.mss-empty { display:flex; flex-direction:column; align-items:center; gap:10px; padding:40px 24px; background:rgba(254,254,254,.7); border:1px solid #D8DDFC; border-radius:16px; text-align:center; }
.mss-empty p { font-size:12px; color:#9CA3AF; margin:0; }

.mss-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.mss-card { background:#fff; border:1.5px solid #D8DDFC; border-radius:16px; padding:16px; display:flex; flex-direction:column; gap:8px; transition:box-shadow .15s; }
.mss-card:hover { box-shadow:0 4px 16px rgba(13,35,172,.08); }
.mss-card--hidden { opacity:.55; border-style:dashed; }
.mss-card__top { display:flex; justify-content:space-between; align-items:center; }
.mss-card__type { font-size:10px; font-weight:700; color:#7661B4; background:rgba(118,97,180,.1); padding:3px 10px; border-radius:20px; }
.mss-card__actions { display:flex; gap:6px; }
.mss-icon-btn { width:28px; height:28px; border-radius:8px; border:1px solid #F3F4FE; background:#F8F9FF; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .15s; }
.mss-icon-btn:hover { border-color:#D8DDFC; background:#fff; }
.mss-icon-btn--delete:hover { border-color:#FECACA; background:#FEF2F2; }
.mss-card__name { font-size:14px; font-weight:700; color:#2D335D; margin:0; }
.mss-card__desc { font-size:11px; color:#6B7280; margin:0; line-height:16px; }
.mss-card__meta { display:flex; justify-content:space-between; align-items:center; margin-top:4px; padding-top:8px; border-top:1px solid #F3F4FE; }
.mss-card__meta span { display:flex; align-items:center; gap:4px; font-size:11px; color:#6B7280; }
.mss-card__price { font-size:14px; font-weight:700; color:#515DA9; }
.mss-free { color:#059669 !important; }

/* Type option buttons */
.mss-type-options { display:flex; flex-wrap:wrap; gap:6px; }
.mss-type-btn { padding:6px 14px; border-radius:20px; border:1.5px solid #D8DDFC; background:#F8F9FF; font-family:'Montserrat',sans-serif; font-size:11px; font-weight:600; color:#6B7280; cursor:pointer; transition:all .15s; }
.mss-type-btn:hover { border-color:#7661B4; color:#7661B4; }
.mss-type-btn.is-active { background:#515DA9; border-color:#515DA9; color:#fff; }

/* Price toggle */
.mss-price-toggle { display:flex; gap:8px; }
.mss-price-opt { padding:8px 24px; border-radius:20px; border:1.5px solid #D8DDFC; background:#F8F9FF; font-family:'Montserrat',sans-serif; font-size:12px; font-weight:700; color:#6B7280; cursor:pointer; transition:all .15s; }
.mss-price-opt.is-active { background:#515DA9; border-color:#515DA9; color:#fff; }

/* Schedule toggle */
.mss-sched-toggle { display:flex; flex-direction:column; gap:8px; }
.mss-sched-opt { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; border:1.5px solid #D8DDFC; cursor:pointer; transition:border-color .15s; }
.mss-sched-opt input[type="radio"] { accent-color:#515DA9; width:16px; height:16px; flex-shrink:0; }
.mss-sched-opt span { font-size:12px; font-weight:600; color:#2D335D; }
.mss-sched-opt small { display:block; font-size:10px; color:#9CA3AF; }

/* Custom days grid */
.mss-days-grid { display:flex; flex-direction:column; gap:6px; }
.mss-day-row { display:flex; align-items:center; gap:10px; padding:6px 0; }
.mss-day-name { font-size:12px; font-weight:600; color:#374151; min-width:32px; }
.mss-day-times { display:flex; align-items:center; gap:6px; flex:1; }
.mss-time-sel { padding:6px 28px 6px 10px; font-size:11px; }

/* ── Upcoming Sessions timeline items ── */
.md-tl-wrap { display: flex; flex-direction: column; gap: 8px; min-height: 80px; }
.md-tl__loading { display: flex; align-items: center; justify-content: center; padding: 20px; }

.md-session-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; background: #F8F9FF;
    border: 1px solid #D8DDFC; border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}
.md-session-item__time {
    font-size: 12px; font-weight: 700; color: #515DA9;
    min-width: 56px; flex-shrink: 0;
}
.md-session-item__info { flex: 1; min-width: 0; }
.md-session-item__name {
    font-size: 12px; font-weight: 600; color: #2D335D;
    margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.md-session-item__type { font-size: 10px; color: #9CA3AF; margin: 0; }
.md-session-item__status {
    font-size: 10px; font-weight: 700; padding: 2px 8px;
    border-radius: 10px; flex-shrink: 0; text-transform: capitalize;
}
.md-session-item__status--confirmed,
.md-session-item__status--upcoming { background: #FEF3C7; color: #92400E; }
.md-session-item__status--completed { background: #D1FAE5; color: #065F46; }
.md-session-item__status--pending   { background: #EEF2FF; color: #3730A3; }

/* ── Session timeline (Upcoming Sessions card) ── */
.md-tl-hours {
    display: flex; flex-direction: column; gap: 0;
    margin-bottom: 4px;
}
.md-tl-hour {
    display: flex; align-items: center; gap: 8px; height: 28px;
}
.md-tl-hour span {
    font-size: 9px; color: #C9CDE4; font-weight: 500;
    width: 32px; flex-shrink: 0; text-align: right;
}
.md-tl-hour__line {
    flex: 1; height: 1px; background: #F3F4FE;
}
.md-tl-sessions {
    display: flex; flex-direction: column; gap: 8px; padding-top: 4px;
}
.md-tl-session {
    display: flex; align-items: stretch; gap: 8px;
}
.md-tl-session__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #515DA9; flex-shrink: 0; margin-top: 6px;
}
.md-tl-session__block {
    flex: 1; padding: 8px 12px; border-radius: 10px;
    min-width: 0;
}
.md-tl-session__time {
    font-size: 10px; font-weight: 700; color: #515DA9; display: block; margin-bottom: 2px;
}
.md-tl-session__name {
    font-size: 12px; font-weight: 600; color: #2D335D; margin: 0 0 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.md-tl-session__type {
    font-size: 10px; color: #9CA3AF; margin: 0;
}
.md-tl-session__join {
    display: flex; align-items: center; padding: 0 12px;
    background: #515DA9; color: #fff; border-radius: 8px;
    font-size: 10px; font-weight: 700; text-decoration: none;
    flex-shrink: 0; white-space: nowrap;
}
.md-tl-session__join:hover { background: #3A4278; }
.md-tl-none {
    font-size: 11px; color: #C9CDE4; text-align: center; padding: 12px;
}

/* ── Sidebar Profile Strength: ring around avatar + corner badge ── */
.md-sidebar__avatar-wrap {
    position: relative;
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.md-avatar-ring {
    position: absolute; top: -4px; left: -4px;
    pointer-events: none;
}
.md-avatar-badge {
    position: absolute; bottom: -4px; right: -6px;
    min-width: 22px; height: 16px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(107.49deg,#7661B4 7%,#0D23AC 95%);
    border: 2px solid #222747; border-radius: 10px;
    font-size: 9px; font-weight: 800; color: #fff;
    text-decoration: none; line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    transition: transform .15s;
}
.md-avatar-badge:hover { transform: scale(1.12); }
/* Hide ring/badge in collapsed sidebar state */
.md-sidebar.is-collapsed .md-avatar-ring,
.md-sidebar.is-collapsed .md-avatar-badge { display: none; }

/* ── All Bookings full page ── */
.mdb-allpage { display: flex; flex-direction: column; gap: 4px; }
.mdba-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: #747DBA;
    text-decoration: none; width: fit-content;
}
.mdba-back:hover { color: #515DA9; }

.mds-filters a.mds-filter { text-decoration: none; display: inline-block; }

.mds-page-dots {
    font-size: 12px; color: #C9CDE4; padding: 0 4px;
    display: inline-flex; align-items: center;
}
