.min-vh-75 { min-height: 75vh; }
.portal-card { color: inherit; text-decoration: none; }
.portal-card .card { transition: transform .15s ease, box-shadow .15s ease; }
.portal-card:hover .card { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.10) !important; }

/* Client dashboard */
.client-dashboard { max-width: 760px; }
.client-header, .dashboard-action, .exercise-card, .live-room { border-radius: 14px; }
.dashboard-action, .exercise-card { min-height: 132px; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.dashboard-action:hover, .exercise-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.12)!important; }
.dashboard-icon { width: 27px; height: 27px; stroke-width: 1.8; }
.empty-activities { min-height: 132px; }
.live-room { color: inherit; }
.activity-instructions { white-space: normal; line-height: 1.7; }
@media (max-width: 760px) {
    .dashboard-action { min-height: 116px; }
    .dashboard-action .card-body { padding: .65rem .3rem; }
    .dashboard-action .fw-semibold { font-size: .78rem; }
    .exercise-card { min-height: 116px; }
    .exercise-card .card-body { padding: .65rem .3rem; }
    .exercise-card .fw-semibold { font-size: .8rem; }
}

.is-upcoming { cursor: not-allowed; opacity: .82; }
.coach-page-subtitle {font-size: 0.8rem;}

/* =====================================================
   CLIENT PORTAL - GLOBAL STYLE
   Theme: Modern Orange
===================================================== */

:root {
    --primary: #F28C28;
    --primary-dark: #D96B12;
    --primary-light: #FFF1E3;

    --text-primary: #253047;
    --text-secondary: #6B7280;

    --background: #F8F9FA;
    --card-background: #FFFFFF;

    --border-color: #EEEEEE;

    --border-radius: 14px;
    --border-radius-sm: 10px;
}

/* =====================================================
   GENERAL
===================================================== */

body {
    background: var(--background);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* =====================================================
   NAVBAR
===================================================== */

.portal-navbar {
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(217, 107, 18, .15);
    padding-top: 13px;
    padding-bottom: 13px;
}

.portal-navbar .navbar-brand {
    color: #FFFFFF;
    font-size: 1.15rem;
    letter-spacing: -.3px;
}

.portal-navbar .navbar-brand:hover {
    color: var(--primary-light);
}

.portal-navbar .user-name {
    color: #FFFFFF;
    font-size: .9rem;
    font-weight: 500;
}

.btn-navbar-logout {
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s ease;
}

.btn-navbar-logout:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--primary-dark);
}

.btn-navbar-logout svg {
    width: 15px;
    height: 15px;
}

/* =====================================================
   BUTTONS
===================================================== */

/* Orange button */

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-orange:hover,
.btn-orange:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 140, 40, .22);
}

.btn-outline-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-outline-orange:hover,
.btn-outline-orange:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 140, 40, .22);
}

.btn-sm-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-sm-orange:hover,
.btn-sm-orange:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 140, 40, .22);
}

.btn-sm-outline-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-sm-outline-orange:hover,
.btn-sm-outline-orange:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 140, 40, .22);
}

/*
.btn-orange {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #FFFFFF;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    padding: 10px 16px;
    transition: all .2s ease;
}

.btn-orange:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
}

.btn-orange:active {
    transform: scale(.97);
}
*/
/* =====================================================
   CARDS
===================================================== */

.card {
    border-radius: var(--border-radius);
}

.portal-card {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.portal-card .card {
    height: 100%;
    border: 1px solid var(--border-color) !important;
    transition: all .2s ease;
}

.portal-card:hover .card {
    transform: translateY(-4px);
    border-color: #F7C28E !important;
    box-shadow: 0 10px 25px rgba(217, 107, 18, .10) !important;
}

.portal-card:active .card {
    transform: scale(.98);
}

/* =====================================================
   DASHBOARD NAVIGATION CARDS
===================================================== */

.dashboard-heading {
    color: var(--text-primary);
}

.dashboard-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    /* background: var(--primary-light); */
	background-color: rgba(245, 245, 245, 0.5);
    color: var(--primary-dark);
    flex-shrink: 0;
}

.dashboard-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 2;
}

.dashboard-label {
    color: var(--primary-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.dashboard-arrow {
    color: var(--primary);
    transition: transform .2s ease;
}

.dashboard-card:hover .dashboard-arrow {
    transform: translateX(4px);
}

.dashboard-card {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.dashboard-card .card {
    border: 1px solid var(--border-color) !important;
    border-radius: 16px;
    transition: all .2s ease;
    height: 100%;
}

.dashboard-card:hover .card {
    transform: translateY(-4px);
    border-color: #F7C28E !important;
    box-shadow: 0 10px 25px rgba(217, 107, 18, .10) !important;
}

/* =====================================================
   FORMS
===================================================== */

.form-control,
.form-select {
    border-radius: var(--border-radius-sm);
    border-color: #DEE2E6;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(242, 140, 40, .15);
}

/* =====================================================
   ICONS
===================================================== */

.icon-orange {
    color: var(--primary-dark);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 575.98px) {

    .portal-navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .portal-navbar .navbar-brand {
        font-size: 1rem;
    }

    .dashboard-header {
        align-items: flex-start !important;
        gap: 15px;
        flex-direction: column;
    }

    .dashboard-header .btn {
        width: 100%;
    }

    .dashboard-icon {
        width: 46px;
        height: 46px;
    }
}

/* LOGIN PAGE */
/* =====================================
   LOGIN PAGE
===================================== */

.login-page {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

/* Reserved Picture Area */

.login-picture-area {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-picture-area img {
    width: 150px;
    height: auto;
}

/* Login Heading */

.login-heading {
    margin-bottom: 28px;
    text-align: center;
}

.login-heading h1 {
        color: var(--primary);
    }

/* Form */

.login-card .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 7px;
}

.login-card .form-control {
    min-height: 44px;
    border-radius: 9px;
    font-size: 0.9rem;
}

.login-card .btn {
    min-height: 44px;
    border-radius: 9px;
    font-weight: 600;
}

/* Mobile Layout */

@media (max-width: 575.98px) {

    .login-page {
        min-height: 70vh;
        padding: 20px 12px;
        align-items: center;
    }

    .login-card {
        max-width: 340px;
        padding: 22px 20px;
        border-radius: 14px;
    }

    .login-picture-area {
        height: 200px;
        margin-bottom: 18px;
    }

    .login-heading {
        margin-bottom: 22px;        
    }

    .login-heading h1 {
        font-size: 1.3rem;
    }

}


/* =========================================
   MANAGEMENT PAGE
========================================= */

.management-page {
    width: 100%;
}

.page-heading-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 11px;
}

.page-heading-icon svg {
    width: 20px;
    height: 20px;
}

.icon-sm {
    width: 17px;
    height: 17px;
}

.icon-xs {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Table card */

.management-page-table-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(25, 35, 50, .04);
}

.management-page-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 21px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.client-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 8px;
    background: #fff5eb;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Table */

.management-page-modern-table {
    min-width: 760px;
}

.management-page-modern-table thead th {
    padding: 14px 20px;
    background: #fafafa;
    color: #8b929e;
    border-bottom: 1px solid #eeeeee;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    white-space: nowrap;
}

.management-page-modern-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f2f3f5;
    color: #374151;
    font-size: 13px;
}

.management-page-modern-table tbody tr {
    transition: background .18s ease;
}

.management-page-modern-table tbody tr:hover {
    background: #fffaf5;
}

.management-page-modern-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Client identity */

.management-page-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.management-page-avatar {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e3;
    color: var(--primary-dark);
    border-radius: 12px;
}

.management-page-avatar svg {
    width: 19px;
    height: 19px;
}

.management-page-name {
    color: #253047;
    font-size: 13px;
    font-weight: 700;
}

.management-page-name-subtitle {
    margin-top: 3px;
    color: #9299a5;
    font-size: 11px;
}

/* Client code */

.client-code {
    display: inline-block;
    padding: 5px 8px;
    background: #f5f6f8;
    border-radius: 6px;
    color: #596273;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
}

/* Phone and date */

.client-phone,
.client-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #687386;
    white-space: nowrap;
}

/* Status */

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-active {
    background: #eaf8ef;
    color: #21834a;
}

.status-active .status-dot {
    background: #27ae60;
}

.status-inactive {
    background: #f1f2f4;
    color: #737b88;
}

.status-inactive .status-dot {
    background: #9ca3af;
}

/* Empty state */

.client-empty-state {
    padding: 55px 20px;
    text-align: center;
}

.empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e3;
    color: var(--primary-dark);
    border-radius: 18px;
}

.empty-icon svg {
    width: 27px;
    height: 27px;
}

/* Mobile */

@media (max-width: 576px) {
    .management-page-table-header {
        padding: 17px;
    }

    .management-page-modern-table thead th {
        padding: 13px 15px;
    }

    .management-page-modern-table tbody td {
        padding: 14px 15px;
    }

    .btn-orange {
        padding: 9px 13px;
    }
}


/* =========================================
   CREATE CLIENT ACCOUNT
========================================= */

.create-management-page {
    max-width: 1000px;
    margin: 0 auto;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #596273;
}

.btn-back:hover {
    background: #f5f6f8;
    color: #253047;
}

.create-client-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(25, 35, 50, .04);
}

.create-client-card-header {
    padding: 22px 26px;
    border-bottom: 1px solid #f0f0f0;
}

.create-client-header-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e3;
    color: #d96b12;
    border-radius: 13px;
}

.create-client-header-icon svg {
    width: 22px;
    height: 22px;
}

.create-client-card-body {
    padding: 27px 26px;
}

/* Sections */

.form-section {
    width: 100%;
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
}

.form-section-heading > svg {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    color: var(--primary-dark);
}

.form-section-heading h3 {
    margin: 0 0 4px;
    color: #253047;
    font-size: 14px;
    font-weight: 700;
}

.form-section-heading p {
    margin: 0;
    color: #9299a5;
    font-size: 12px;
}

.form-section-divider {
    height: 1px;
    margin: 27px 0;
    background: #eeeeee;
}

/* Form controls */

.create-management-page .form-label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.required-mark {
    color: #e46f20;
}

.create-management-page .form-control {
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    color: #253047;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.create-management-page .form-control::placeholder {
    color: #aab0ba;
}

.create-management-page .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 140, 40, .12);
}

.create-management-page textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.create-management-page .form-text {
    margin-top: 7px;
    color: #9299a5;
    font-size: 11px;
}

/* Input icons */

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper > svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 16px;
    height: 16px;
    color: #9299a5;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-icon-wrapper .form-control {
    padding-left: 40px;
}

.password-input-wrapper .form-control {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9299a5;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--primary-dark);
}

.password-toggle svg {
    width: 17px;
    height: 17px;
}

/* Footer */

.create-client-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #eeeeee;
}

.btn-cancel {
    padding: 10px 18px;
    border-radius: 10px;
    color: #596273;
    font-size: 13px;
    font-weight: 600;
}

/* Bottom note */

.create-client-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 13px 16px;
    background: #fffaf5;
    border: 1px solid #ffead6;
    border-radius: 10px;
    color: #92602e;
    font-size: 12px;
}

.create-client-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Mobile */

@media (max-width: 576px) {
    .create-client-card-header {
        padding: 18px;
    }

    .create-client-card-body {
        padding: 20px 17px;
    }

    .create-client-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .create-client-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-back {
        padding: 8px 11px;
    }
}


/* DASHBOARD ACTION COLORS */

/* Soft Green - Daily Check-in */
.action-green {
    background: #E5F3E9;
    color: #388653;
}

.action-green .dashboard-icon {
    color: #388653;
}

/* Soft Yellow - Message Coach */
.action-yellow {
    background: #FFF3D6;
    color: #A87516;
}

.action-yellow .dashboard-icon {
    color: #A87516;
}

/* Soft Blue - Live Session */
.action-blue {
    background: #E3EFFB;
    color: #3976B9;
}
.action-blue .dashboard-icon{
    color: #3976B9;
}

/* Subtle hover effects */
.action-green,
.action-yellow {
    transition: transform .2s ease, box-shadow .2s ease;
}

.action-green:hover,
.action-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.08) !important;
}


/* =====================================
   MOBILE CLIENT DASHBOARD
===================================== */
@media (max-width: 575.98px) {

    /* General dashboard spacing */
    .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .d-grid.gap-3 {
        gap: 0.5rem !important;
    }

    /* Dashboard action cards */
    .dashboard-action,
    .empty-activities,
    .exercise-card,
    .live-room {
        border-radius: 12px !important;
    }

    .dashboard-action .card-body,
    .empty-activities .card-body {
        padding: 10px 5px;
    }

    .dashboard-action .dashboard-icon,
    .empty-activities .dashboard-icon {
        width: 48px;
        height: 48px;
    }
	
	.dashboard-action .dashboard-icon i,
    .empty-activities .dashboard-icon i {
        width: 32x;
        height: 32px;
    }

    .dashboard-action span,
    .empty-activities .fw-semibold {
        font-size: 12px;
        line-height: 1.35;
    }

    .empty-activities small {
        font-size: 10px;
        line-height: 1.4;
    }

    /* Exercise cards */
    .exercise-card .card-body {
        padding: 12px 6px;
        gap: 7px !important;
    }

    .exercise-card .dashboard-icon {
        width: 22px;
        height: 22px;
    }

    .exercise-card .fw-semibold {
        font-size: 12px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .exercise-card .badge {
        font-size: 9px;
        font-weight: 500;
        padding: 5px 7px;
        border-radius: 6px;
    }

    /* Live Coaching Room */
    .live-room .card-body {
        padding: 12px 8px !important;
    }

    .live-room .dashboard-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 6px !important;
    }

    .live-room .fs-5 {
        font-size: 14px !important;
        line-height: 1.4;
    }

    .live-room .btn {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 7px;
    }

    /* Today's Goal */
    .card:has(.progress) .card-body {
        padding: 12px 10px !important;
    }

    .card:has(.progress) .fw-semibold {
        font-size: 12px;
    }

    .card:has(.progress) .fw-semibold i {
        width: 16px;
        height: 16px;
    }

    .card:has(.progress) .display-6 {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .card:has(.progress) .progress {
        height: 7px;
    }

    .card:has(.progress) .small {
        font-size: 10px;
        line-height: 1.4;
    }
}


/* =====================================
   COACH CLIENT ASSIGNMENTS
===================================== */

.coach-assignment-page .assignment-card {
    border-radius: 14px;
    overflow: hidden;
}

.coach-assignment-page .assignment-card-header {
    padding: 16px 18px;
}

.assignment-title {
    font-size: 1.45rem;
}

.assignment-subtitle {
    font-size: 0.9rem;
}

.coach-assignment-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
}

.coach-assignment-avatar,
.client-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.coach-assignment-avatar {
    width: 42px;
    height: 42px;
}

.coach-assignment-avatar i {
    width: 20px;
    height: 20px;
}

.client-avatar {
    width: 36px;
    height: 36px;
}

.client-avatar i {
    width: 17px;
    height: 17px;
}

.assignment-card-title {
    font-size: 1rem;
}

.assignment-orange-icon {
    width: 19px;
    height: 19px;
    color: var(--primary);
}

.assigned-client-item,
.available-client-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 8px;
}

.available-client-item {
    cursor: pointer;
    transition: background 0.2s ease;
}

.available-client-item:hover {
    background: var(--primary-light);
}

.available-client-item .form-check-input {
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.client-name {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.min-width-0 {
    min-width: 0;
}

.remove-client-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.remove-client-btn i {
    width: 15px;
    height: 15px;
}

.assignment-search .input-group-text i {
    width: 17px;
    height: 17px;
    color: var(--text-secondary);
}

.assignment-search .form-control {
    font-size: 0.85rem;
}

.assignment-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    font-size: 0.9rem;
}

.assignment-submit-btn i {
    width: 17px;
    height: 17px;
}

/* Orange buttons */
.coach-assignment-page .btn-orange {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 9px;
}

.coach-assignment-page .btn-orange:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

/* Available client list */
.available-client-list {
    max-height: 390px;
    overflow-y: auto;
    padding-right: 3px;
}

/* Mobile */
@media (max-width: 767.98px) {

    .coach-assignment-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .assignment-title {
        font-size: 1.2rem;
    }

    .assignment-subtitle {
        font-size: 0.78rem;
    }

    .coach-assignment-profile {
        padding: 8px 10px;
        gap: 9px;
    }

    .coach-assignment-avatar {
        width: 35px;
        height: 35px;
    }

    .coach-assignment-profile .fw-semibold {
        font-size: 0.82rem;
    }

    .coach-assignment-profile small {
        font-size: 0.7rem;
    }

    .coach-assignment-page .assignment-card-header {
        padding: 12px 14px;
    }

    .assignment-card-title {
        font-size: 0.88rem;
    }

    .assignment-orange-icon {
        width: 17px;
        height: 17px;
    }

    .assigned-client-item,
    .available-client-item {
        padding: 9px;
        gap: 9px;
    }

    .client-avatar {
        width: 32px;
        height: 32px;
    }

    .client-name {
        font-size: 0.8rem;
    }

    .available-client-item small,
    .assigned-client-item small {
        font-size: 0.7rem;
    }

    .remove-client-btn {
        font-size: 0.7rem;
        padding: 5px 7px;
    }

    .assignment-submit-btn {
        font-size: 0.82rem;
        padding: 9px;
    }

    .available-client-list {
        max-height: 320px;
    }
}


/* Notification bell animation */
.notification-bell.is-new svg {
    transform-origin: 50% 15%;
    animation: notificationBellSwing 0.65s ease-in-out;
}

.notification-bell.is-new #navbarUnreadBadge {
    animation: notificationBadgePop 0.45s ease-out;
}

@keyframes notificationBellSwing {
    0%   { transform: rotate(0); }
    20%  { transform: rotate(14deg); }
    40%  { transform: rotate(-12deg); }
    60%  { transform: rotate(8deg); }
    80%  { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}

@keyframes notificationBadgePop {
    0%   { transform: translate(50%, -50%) scale(1); }
    50%  { transform: translate(50%, -50%) scale(1.3); }
    100% { transform: translate(50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .notification-bell.is-new svg,
    .notification-bell.is-new #navbarUnreadBadge {
        animation: none;
    }
}

/* Dashboard card sizing */
.dashboard-action,
.exercise-card {
    height: 150px !important;
    min-height: 150px;
    width: 100%;
}

/* Quick action layout */
.dashboard-action-grid {
    grid-template-rows: repeat(2, 150px);
}

/* Exercise grid */
.dashboard-activities-grid {
    grid-auto-rows: 150px;
}

.dashboard-activities-grid > .col {
    display: flex;
}

.exercise-card {
    display: flex;
}

/* Center card contents */
.dashboard-action .card-body,
.exercise-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Exercise card content fitting */
.exercise-card {
    overflow: hidden;
}

.exercise-card .card-body {
    min-width: 0;
    min-height: 0;
    padding: 8px !important;
    gap: 5px !important;
    overflow: hidden;
}

.exercise-card .card-body > * {
    max-width: 100%;
}

.exercise-card .card-body .text-muted {
    font-size: 10px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exercise-card .card-body .fw-semibold {
    font-size: 13px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exercise-card .badge {
    font-size: 10px;
    white-space: nowrap;
}