@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;500;600;700&display=swap');

/* =========================
   GLOBAL
========================= */

body {
    font-family: 'Overpass', sans-serif;
}

/* =========================
   PARENT DASHBOARD
========================= */

.mamba-dashboard-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Overpass', sans-serif;
    background: #f5f5f5;
    min-height: 60vh;
}

.mamba-dashboard-header {
    margin-bottom: 25px;
}

.mamba-dashboard-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
}

.mamba-dashboard-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.mamba-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.mamba-player-card {
    background: rgba(255,255,255,0.75);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.mamba-player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.mamba-player-top {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #eee7dc;
    border-radius: 10px;
    margin-bottom: 14px;
}

.mamba-tab {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    padding: 6px;
    text-align: center;
    border-radius: 8px;
    color: #666;
}

.mamba-tab.active {
    background: #d4af37;
    color: #fff;
}

.mamba-player-content {
    text-align: center;
}

.mamba-player-name {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px;
}

.mamba-player-role {
    font-size: 13px;
    color: #888;
    margin: 0 0 14px;
}

.mamba-avatar-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.mamba-avatar-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7c58a, #c99b4a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(201,155,74,0.18);
}

.mamba-avatar-letter {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.mamba-player-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mamba-stat-box {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    background: #f3f4f6;
    text-align: center;
}

.mamba-stat-box strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    word-break: break-word;
}

.mamba-stat-box span {
    display: block;
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mamba-player-btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #d4af37;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mamba-player-btn:hover {
    background: #c7a22e;
    color: #111;
}

/* =========================
   PLAYER DASHBOARD SHELL
========================= */

.mamba-player-app-shell {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f3f4f6;
}

.mamba-player-app {
    width: 100%;
    padding: 16px;
    margin: 0;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    font-family: 'Overpass', sans-serif;
    background: transparent;
    min-height: 100vh;
    box-sizing: border-box;
}

.mamba-sidebar {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

.mamba-sidebar-top {
    text-align: center;
}

.mamba-profile-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #e4c071, #d1a243);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(201,155,74,0.18);
}

.mamba-sidebar-top h3 {
    margin: 0 0 4px;
    font-size: 18px;
    color: #111827;
    font-weight: 600;
}

.mamba-sidebar-top p {
    margin: 0;
    font-size: 13px;
    color: #7b7b7b;
}

.mamba-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mamba-sidebar-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
}

.mamba-sidebar-nav a.active {
    background: #0b2242;
    color: #ffffff;
}

.mamba-sidebar-nav a:hover {
    background: #f3f5f8;
    color: #111827;
}

.mamba-sidebar-nav a.active:hover {
    background: #0b2242;
    color: #ffffff;
}

.mamba-sidebar-bottom {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #edf0f3;
}

.mamba-sidebar-bottom a {
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
}

.mamba-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.mamba-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.mamba-topbar-text h2 {
    margin: 0 0 2px;
    font-size: 30px;
    color: #111827;
    font-weight: 700;
}

.mamba-topbar-text p {
    margin: 0;
    color: #7b7b7b;
    font-size: 13px;
}

.mamba-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mamba-topbar-actions input {
    width: 340px;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 14px;
    background: #ffffff;
    font-size: 14px;
    outline: none;
}

.mamba-topbar-actions button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* =========================
   PLAYER DASHBOARD CARDS
========================= */

.mamba-week-card,
.mamba-stats-card,
.mamba-info-card,
.mamba-side-card {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

.mamba-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mamba-card-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #111827;
}

.mamba-card-head span,
.mamba-card-head a {
    font-size: 13px;
    color: #8a8f98;
    text-decoration: none;
}

.mamba-card-head button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 9px;
    background: #2d8cff;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.mamba-week-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.mamba-week-box {
    min-height: 112px;
    background: #fbfbfc;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mamba-week-box span {
    font-size: 11px;
    color: #969ba4;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.mamba-week-box strong {
    font-size: 16px;
    color: #111827;
    font-weight: 600;
}

.mamba-week-box small {
    color: #8b8f97;
    font-size: 12px;
}

.mamba-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 300px;
    gap: 18px;
}

.mamba-left-column,
.mamba-right-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.mamba-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mamba-mini-stat {
    background: #fbfbfc;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    padding: 14px;
}

.mamba-mini-stat span {
    display: block;
    font-size: 12px;
    color: #8a8f98;
    margin-bottom: 8px;
}

.mamba-mini-stat strong {
    font-size: 22px;
    color: #111827;
    font-weight: 700;
}

.mamba-info-table {
    display: flex;
    flex-direction: column;
}

.mamba-info-row {
    display: grid;
    grid-template-columns: 165px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f5;
}

.mamba-info-row:last-child {
    border-bottom: none;
}

.mamba-info-row span {
    font-size: 13px;
    color: #8a8f98;
}

.mamba-info-row strong {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
    word-break: break-word;
}

.mamba-reminder-list,
.mamba-quick-links,
.mamba-update-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mamba-reminder-item,
.mamba-quick-links a {
    border: 1px solid #edf0f3;
    border-radius: 14px;
    padding: 14px;
    background: #fbfbfc;
}

.mamba-reminder-item strong {
    display: block;
    font-size: 14px;
    color: #111827;
    margin-bottom: 5px;
}

.mamba-reminder-item span,
.mamba-update-box span {
    font-size: 12px;
    color: #8a8f98;
}

.mamba-quick-links a {
    text-decoration: none;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
}

.mamba-update-box strong {
    font-size: 15px;
    color: #111827;
}

/* =========================
   TRAINERS TAB
========================= */

.mamba-trainers-page {
    max-width: 960px;
    padding: 8px 0 40px;
}

.mamba-trainers-head {
    margin-bottom: 22px;
}

.mamba-trainers-head h2 {
    margin: 0 0 6px;
    font-size: 30px;
    color: #111827;
    font-weight: 700;
}

.mamba-trainers-head p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.mamba-trainer-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mamba-trainer-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    background: #ffffff;
    border: 1px solid #e8e1d8;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

.mamba-trainer-photo {
    width: 190px;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
}

.mamba-trainer-photo img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
}

.mamba-trainer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e4c071;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
}

.mamba-trainer-info h3 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.15;
    color: #111827;
    font-weight: 700;
}

.mamba-trainer-meta,
.mamba-trainer-availability,
.mamba-trainer-desc {
    margin: 0 0 10px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.mamba-trainer-desc {
    max-width: 620px;
}

.mamba-trainer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.mamba-trainer-tags span {
    background: #eee9df;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #374151;
}

.mamba-trainer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.mamba-btn-outline,
.mamba-btn-dark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.mamba-btn-outline {
    border: 1px solid #e1d8cc;
    background: #ffffff;
    color: #111827;
}

.mamba-btn-outline:hover {
    background: #f8f6f2;
    color: #111827;
}

.mamba-btn-dark {
    background: #252525;
    color: #ffffff;
}

.mamba-btn-dark:hover {
    background: #111111;
    color: #ffffff;
}

.mamba-trainer-price {
    display: block;
    margin-top: 10px;
    color: #6b7280;
    font-size: 13px;
}








/*navbar logout button*/

.mamba-sidebar-logout {
    display: block;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #0b2242;
    color: #ffffff !important;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
}

.mamba-sidebar-logout:hover {
    background: #d4af37;
    color: #111827 !important;
}
/* =========================
   THEME CONTAINER OVERRIDE
========================= */

body.page .site,
body.page .container,
body.page .wrap,
body.page .content-area,
body.page .site-content,
body.page .ast-container,
body.page .elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .mamba-player-app {
        grid-template-columns: 1fr;
    }

    .mamba-lower-grid {
        grid-template-columns: 1fr;
    }

    .mamba-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mamba-topbar-actions,
    .mamba-topbar-actions input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mamba-player-app {
        padding: 12px;
        gap: 14px;
    }

    .mamba-week-grid,
    .mamba-mini-stats {
        grid-template-columns: 1fr;
    }

    .mamba-info-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .mamba-topbar-text h2 {
        font-size: 26px;
    }

    .mamba-week-card,
    .mamba-stats-card,
    .mamba-info-card,
    .mamba-side-card,
    .mamba-sidebar {
        padding: 16px;
        border-radius: 16px;
    }

    .mamba-trainer-card {
        grid-template-columns: 1fr;
    }

    .mamba-trainer-photo {
        width: 100%;
        height: 240px;
    }

    .mamba-trainer-info h3 {
        font-size: 24px;
    }

    .mamba-btn-outline,
    .mamba-btn-dark {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .mamba-dashboard-wrap {
        padding: 28px 16px 40px;
    }

    .mamba-dashboard-header h2 {
        font-size: 28px;
    }

    .mamba-player-grid {
        grid-template-columns: 1fr;
    }
}

.mamba-auth-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;

  display: flex;
  align-items: center;
  gap: 10px;

  max-width: 360px;
  padding: 14px 18px;
  border-radius: 10px;

  background: #22c55e; /* green */
  color: #fff;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  box-shadow: 0 10px 25px rgba(0,0,0,.15);

  opacity: 0;
  transform: translateY(-10px);
  transition: all .3s ease;
}

.mamba-auth-toast.show {
  opacity: 1;
  transform: translateY(0);
}