/* ==========================================================================
   CONSOLIDATED STYLES - style.css
   ========================================================================== */

/* Import Statements */
@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES & ROOT STYLES
   ========================================================================== */

:root {
	--primary-color: #1D5250;
    --secondary-color: #F2CC8F;
    --accent-color: #F28F99;
    --highlight-color: #438E86;
    --background-color: #F4F1DE;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-light: #F5F5F5;
    --gray-medium: #9B9B9B;
    --gray-dark: #4A4A4A;
    --success: #438E86;
    --warning: #F2CC8F;
    --danger: #F28F99;
    --info: #1D5250;
    --border-radius: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(61, 64, 91, 0.08);
    --shadow-md: 0 4px 12px rgba(61, 64, 91, 0.12);
    --shadow-lg: 0 8px 24px rgba(61, 64, 91, 0.16);
    --shadow-xl: 0 16px 48px rgba(61, 64, 91, 0.2);
    --error-color: #F28F99;
    --light-bg: #F5F5F5;
    --primary-dark: #0f2928;
}

/* ==========================================================================
   GLOBAL & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-color);
    color: var(--primary-color);
    line-height: 1.7;
    min-height: 100vh;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==========================================================================
   COMPONENT STYLES
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: none;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #e8bc6f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #d6694d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-info {
    background-color: var(--highlight-color);
    color: var(--white);
}

.btn-info:hover {
    background-color: #6fa188;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-warning:hover {
    background-color: #e8bc6f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small, button.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: var(--secondary-color);
    color: var(--primary-color);
    display: inline-block;
    text-align: center;
}

.btn-small:hover, button.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #e8bc6f;
}

.btn.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    margin: 0 0.25rem;
}

.btn-logout {
    width: 100%;
    padding: 0.85rem;
    background: rgba(244, 241, 222, 0.08);
    color: var(--background-color);
    border: 1px solid rgba(244, 241, 222, 0.15);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn-logout:hover {
    background: rgba(244, 241, 222, 0.15);
    border-color: rgba(244, 241, 222, 0.25);
}

.btn-video {
    background: var(--highlight-color);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.photo-upload-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.photo-upload-btn:hover {
    background: #e8bc6f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.send-btn {
    padding: 0.85rem 1.75rem;
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.send-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.page-btn {
    padding: 0.6rem 1.2rem;
    background: var(--white);
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.page-btn:hover {
    border-color: var(--secondary-color);
    background: rgba(242, 204, 143, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: var(--background-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--highlight-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    border-color: var(--highlight-color);
}

.export-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.export-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 109, 119, 0.2);
}

.export-btn:nth-child(1):hover {
    border-color: var(--primary-color);
    background: var(--white);
}

.export-btn:nth-child(2):hover {
    border-color: var(--secondary-color);
    background: var(--white);
}

.export-btn:nth-child(3):hover {
    border-color: var(--highlight-color);
    background: var(--white);
}

.export-btn:nth-child(4):hover {
    border-color: var(--accent-color);
    background: var(--white);
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.control-btn.end-call {
    background: var(--accent-color);
}

.control-btn.end-call:hover {
    background: #d6694d;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid rgba(61, 64, 91, 0.08);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(61, 64, 91, 0.12);
}

.action-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 91, 0.08);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.action-card:nth-child(1) {
    border-top: 3px solid var(--primary-color);
}

.action-card:nth-child(2) {
    border-top: 3px solid var(--secondary-color);
}

.action-card:nth-child(3) {
    border-top: 3px solid var(--accent-color);
}

.action-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--highlight-color);
    transition: width 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(61, 64, 91, 0.15);
}

.action-card:hover::after {
    width: 100%;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.stat-card:nth-child(1) {
    border-left-color: var(--primary-color);
}

.stat-card:nth-child(2) {
    border-left-color: var(--secondary-color);
}

.stat-card:nth-child(3) {
    border-left-color: var(--highlight-color);
}

.stat-card:nth-child(4) {
    border-left-color: var(--accent-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.coach-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.metric-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--highlight-color);
}

.chart-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.insight-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.insight-card:nth-child(1) {
    border-left-color: var(--primary-color);
    background: rgba(0, 109, 119, 0.08);
}

.insight-card:nth-child(2) {
    border-left-color: var(--secondary-color);
    background: rgba(131, 197, 190, 0.08);
}

.insight-card:nth-child(3) {
    border-left-color: var(--highlight-color);
    background: rgba(226, 149, 120, 0.08);
}

.insight-card:nth-child(4) {
    border-left-color: var(--accent-color);
    background: rgba(106, 37, 43, 0.08);
}

.insight-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.report-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.test-card {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.5s ease-out;
    border: 1px solid rgba(61, 64, 91, 0.08);
}

/* Forms */
.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    transition: var(--transition);
    background: var(--white);
    color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
    background: var(--white);
}

/* Bio textarea specific styling */
#bio {
    min-height: 150px;
    padding: 16px;
    font-size: 16px;
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: var(--white);
    border: 2px solid rgba(61, 64, 91, 0.12);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    box-shadow: inset 0 1px 3px rgba(61, 64, 91, 0.05);
}

#bio:hover {
    border-color: var(--secondary-color);
    background: var(--white);
}

#bio:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15), inset 0 1px 3px rgba(61, 64, 91, 0.05);
    background: var(--white);
    transform: translateY(-1px);
}

#bio::placeholder {
    color: var(--gray-medium);
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.form-check input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
}

.search-input {
    padding: 0.85rem 1rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    width: 250px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group select {
    width: 100px;
}

.code-input-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.code-input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid rgba(61, 64, 91, 0.15);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--white);
}

.code-input:focus {
    border-color: var(--highlight-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
    background: var(--white);
}

.date-filter {
    padding: 0.85rem 1rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    width: 200px;
    transition: var(--transition);
}

.date-filter:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

.filter-select {
    padding: 0.85rem 1rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

.period-filter {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
}

.chat-input {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem;
    border-top: 1px solid rgba(61, 64, 91, 0.08);
    background: var(--background-color);
}

.chat-input input {
    flex: 1;
    padding: 0.85rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    background: var(--white);
    transition: var(--transition);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 64, 91, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    animation: slideIn 0.3s;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-medium);
    transition: var(--transition);
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(61, 64, 91, 0.08);
}

/* Status & Badges */
.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.status.active,
.status.upcoming {
    background-color: rgba(129, 178, 154, 0.15);
    color: var(--success);
    border: 1px solid rgba(129, 178, 154, 0.3);
}

.status.inactive,
.status.cancelled {
    background-color: rgba(224, 122, 95, 0.15);
    color: var(--danger);
    border: 1px solid rgba(224, 122, 95, 0.3);
}

.status.pending {
    background-color: rgba(242, 204, 143, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(242, 204, 143, 0.3);
}

.status-paid {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-ok {
    color: #4CAF50;
}

.status-error {
    color: #F44336;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    letter-spacing: 0.02em;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.video {
    background: rgba(0, 109, 119, 0.1);
    color: var(--primary-color);
}

.type-badge.audio {
    background: rgba(131, 197, 190, 0.2);
    color: var(--secondary-color);
}

.type-badge.chat {
    background: rgba(226, 149, 120, 0.2);
    color: var(--highlight-color);
}

/* Switch/Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(61, 64, 91, 0.2);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--highlight-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(61, 64, 91, 0.15);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

/* ==========================================================================
   PAGE-SPECIFIC STYLES
   ========================================================================== */

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--background-color);
    padding: 2rem;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, var(--highlight-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--secondary-color) 0%, transparent 50%);
    opacity: 0.08;
    pointer-events: none;
}

.logo-section {
    background: var(--primary-color);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.logo {
    color: var(--background-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
}

.login-form-container {
    padding: 2.5rem;
	text-align: center;
}

.login-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.login-form-container #emailTab input {
	text-align: center;
}

.subtitle {
    color: var(--gray-medium);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-content {
    display: block;
}

.verification-section {
    animation: fadeIn 0.3s;
}

.verification-info {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.verification-info span {
    color: var(--primary-color);
    font-weight: 600;
}

.resend-section {
    text-align: center;
    margin-top: 1.5rem;
}

.resend-section p {
    color: var(--gray-medium);
    margin-bottom: 0.5rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(61, 64, 91, 0.15);
}

.divider span {
    background: #fdfdfb;
    padding: 0 1rem;
    position: relative;
    color: var(--gray-medium);
}

.features-section {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
}

.feature {
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    border: 1px solid rgba(61, 64, 91, 0.08);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature:nth-child(1) {
    border-top: 3px solid var(--highlight-color);
}

.feature:nth-child(2) {
    border-top: 3px solid var(--accent-color);
}

.feature:nth-child(3) {
    border-top: 3px solid var(--secondary-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--primary-color);
    color: var(--background-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(244, 241, 222, 0.1);
    position: relative;
}

.sidebar-header .logo {
    color: var(--background-color);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sidebar-close {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--background-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.sidebar-close:hover {
    opacity: 1;
}

.nav-menu {
    list-style: none;
    padding: 1rem 0;
    flex: 1;
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    color: rgba(244, 241, 222, 0.8);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.nav-item a:hover {
    background: rgba(244, 241, 222, 0.08);
    color: var(--background-color);
    text-decoration: none;
}

.nav-item.active a {
    background: rgba(244, 241, 222, 0.12);
    color: var(--secondary-color);
}

.nav-item.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-color);
    box-shadow: none;
}

.nav-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(244, 241, 222, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(244, 241, 222, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
}

.user-details .user-name {
    color: var(--background-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-details .user-role {
    color: rgba(244, 241, 222, 0.6);
    font-size: 0.85rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    background: var(--background-color);
}

.app-header {
    background: var(--white);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(61, 64, 91, 0.1);
}

.page-title {
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.content-wrapper {
    padding: 2rem;
}

.page-content {
    animation: fadeIn 0.3s;
}

.welcome-section {
    background: var(--primary-color);
    color: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.15;
}

.welcome-section h1 {
    color: var(--background-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.action-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.action-card p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.upcoming-sessions {
    grid-column: span 2;
}

.session-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
}

.session-date {
    background: var(--highlight-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-right: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.session-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.session-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
}

.session-details {
    flex: 1;
}

.session-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.session-details p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.session-time {
    color: var(--accent-color) !important;
    font-weight: 500;
}

.session-actions {
    display: flex;
    gap: 0.5rem;
}

.session-status {
    margin: 0 1.5rem;
}

/* Activity List */
.activity-list {
    list-style: none;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
    transition: var(--transition);
}

.activity-item:hover {
    padding-left: 0.75rem;
    border-left: 3px solid var(--secondary-color);
    background: rgba(242, 204, 143, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin-bottom: 0.25rem;
}

.activity-time {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

/* Sessions Page Specific Styles */
.sessions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sessions-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 4px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: inset 0 1px 3px rgba(61, 64, 91, 0.08);
}

.session-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: var(--primary-color);
    font-family: inherit;
    position: relative;
}

.session-tab:hover {
    background: rgba(61, 64, 91, 0.05);
}

.session-tab.active {
    background: var(--white);
    color: var(--highlight-color);
    box-shadow: var(--shadow-sm);
}

.sessions-container {
    display: grid;
    gap: 1.5rem;
}

/* Enhanced coach cards */
.coach-card .coach-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(61, 64, 91, 0.08);
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.coach-card .stat {
    text-align: center;
    padding: 0.5rem;
}

.coach-card .stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.coach-card .stat-label {
    color: var(--gray-medium);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coach-languages {
    color: var(--highlight-color) !important;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Progress Stats */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat {
    padding: 1rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.stat-label {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

/* Messages Container */
.messages-container {
    display: flex;
    height: calc(100vh - 200px);
    gap: 1.5rem;
}

.conversations-list {
    width: 300px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.chat-window {
    flex: 1;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.chat-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
    background: var(--background-color);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

/* Conversation styling */
.conversation-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.conversation-item:hover {
    background: var(--background-color);
    padding-left: 1.25rem;
}

.conversation-item.unread {
    background: rgba(129, 178, 154, 0.05);
    border-left: 3px solid var(--highlight-color);
}

.conv-avatar {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.conv-details {
    flex: 1;
}

.conv-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.conv-details p {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    color: var(--gray-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conv-time {
    font-size: 0.75rem;
    color: var(--gray-medium);
}

.unread-badge {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Video Call */
.video-call-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.video-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.video-participant {
    position: relative;
    background: #2a2a2a;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-participant video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.video-controls {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.video-chat {
    position: absolute;
    right: 1rem;
    bottom: 80px;
    width: 350px;
    height: 400px;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Admin Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: var(--background-color);
}

.admin-sidebar {
    width: 260px;
    background: var(--primary-color);
    color: var(--background-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.admin-sidebar .logo {
    color: var(--background-color);
    font-weight: 700;
}

.admin-info {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(244, 241, 222, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
}

.admin-details .admin-name {
    color: var(--background-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.admin-details .admin-role {
    color: rgba(244, 241, 222, 0.6);
    font-size: 0.85rem;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
}

.admin-header {
    background: var(--white);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.admin-content {
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
}

.stat-content h3 {
    color: var(--gray-medium);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.85rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.chart-container h3 {
    margin-bottom: 1.5rem;
}

.recent-activities {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.activity-timeline {
    position: relative;
    padding-left: 2rem;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(61, 64, 91, 0.15);
}

.activity-timeline .activity-item {
    position: relative;
    padding: 1rem 0;
}

.activity-timeline .activity-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Tables */
.table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--background-color);
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(61, 64, 91, 0.1);
}

.data-table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.data-table tr:hover {
    background: rgba(242, 204, 143, 0.05);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-info {
    color: var(--gray-medium);
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.coach-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.coach-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    box-shadow: var(--shadow-sm);
}

.coach-info h4 {
    margin-bottom: 0.25rem;
}

.coach-info p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.coach-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(61, 64, 91, 0.08);
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.coach-stats .stat {
    text-align: center;
}

.coach-stats .label {
    display: block;
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.coach-stats .value {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

.coach-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sessions-list {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.report-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1.25rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.metric-label {
    display: block;
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.settings-sections {
    display: grid;
    gap: 2rem;
}

.settings-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.template-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.template-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 91, 0.08);
    transition: var(--transition);
}

.template-item:hover {
    box-shadow: var(--shadow-sm);
}

/* Settings Page */
.settings-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.settings-sidebar {
    width: 250px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.settings-menu {
    list-style: none;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.settings-item:hover {
    background: var(--background-color);
    color: var(--primary-color);
}

.settings-item.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.settings-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.settings-content {
    flex: 1;
}

.settings-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    display: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.settings-section.active {
    display: block;
}

.settings-section h3 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(61, 64, 91, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.profile-photo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.profile-photo {
    text-align: center;
}

.profile-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(61, 64, 91, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.preference-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--highlight-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preference-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    background: var(--white);
}

.preference-item:hover::before {
    opacity: 1;
}

.preference-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.preference-info p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Enhanced select styling for preferences */
.preference-item select {
    min-width: 180px;
    padding: 12px 16px;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--primary-color);
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D405B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.preference-item select:hover {
    border-color: var(--secondary-color);
    background-color: rgba(242, 204, 143, 0.05);
}

.preference-item select:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

.notification-item {
    padding: 1.25rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.85rem;
    border: 1px solid rgba(61, 64, 91, 0.08);
    transition: var(--transition);
}

.notification-item:hover {
    box-shadow: var(--shadow-sm);
}

.notification-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.notification-item input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
}

.privacy-item {
    padding: 1.75rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(61, 64, 91, 0.08);
}

.privacy-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.privacy-option {
    margin-bottom: 0.75rem;
}

.privacy-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.privacy-option input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
}

.subscription-info,
.payment-methods,
.billing-history {
    margin-bottom: 2rem;
}

.plan-details {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
}

.card-type {
    font-weight: 600;
    color: var(--primary-color);
}

.card-number {
    color: var(--gray-dark);
}

.card-expiry {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.billing-table {
    width: 100%;
    border-collapse: collapse;
}

.billing-table th {
    background: var(--gray-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-dark);
}

.billing-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.integrations-list {
    display: grid;
    gap: 1rem;
}

.integration-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.integration-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.integration-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.integration-info h4 {
    margin-bottom: 0.25rem;
}

.integration-info p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Stats Page */
.stats-content {
    padding: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
	padding: 25px;
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.metric-icon {
    font-size: 2rem;
}

.metric-trend {
    font-size: 0.85rem;
    font-weight: 600;
}

.metric-trend.positive {
    color: var(--highlight-color);
}

.metric-trend.negative {
    color: var(--accent-color);
}

.metric-trend.neutral {
    color: var(--gray-medium);
}

.metric-card h3 {
    color: var(--gray-medium);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-subtitle {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

.progress-section {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(61, 64, 91, 0.15);
}

.timeline-item {
    position: relative;
    padding: 1.5rem 0;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid rgba(61, 64, 91, 0.3);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.timeline-item.completed .timeline-marker {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-item.active .timeline-marker {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    animation: pulse 2s infinite;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--gray-medium);
    font-size: 0.85rem;
    font-weight: 500;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
	padding: 25px;
}

.detailed-stats {
    margin-bottom: 2rem;
}

.stats-filters {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th {
    background: var(--gray-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-dark);
    border-bottom: 2px solid #ddd;
}

.stats-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.stats-table tr:hover {
    background: rgba(0, 109, 119, 0.03);
}

.insights-section {
    margin-bottom: 2rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.insight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.insight-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.insight-card p {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

.export-section {
    margin-bottom: 2rem;
}

.export-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.export-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.export-btn span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-dark);
}

/* Index Page (Redirect) */
.redirect-message {
    text-align: center;
    color: white;
}

.redirect-message h1 {
    margin-bottom: 1rem;
}

.redirect-message a {
    color: #CBEEF3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.redirect-message a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Test Page */
.test-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.test-container h1 {
    color: #006D77;
    text-align: center;
    margin-bottom: 2rem;
}

.test-section {
    margin-bottom: 3rem;
}

.color-palette {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.color-box {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.test-result {
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-left: 3px solid #006D77;
    background: #f5f5f5;
    border-radius: 0 10px 10px 0;
}

.test-container button {
    margin-top: 1rem;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(129, 178, 154, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(129, 178, 154, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(129, 178, 154, 0);
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }

    /* Login page adjustments */
    .features-section {
        flex-direction: column;
        gap: 1rem;
    }

    .login-card {
        max-width: 100%;
    }

    .code-input {
        width: 40px;
        height: 45px;
    }

    /* App container adjustments */
    .sidebar {
        position: fixed !important;
        left: 0;
        top: 0;
        height: 100vh;
        width: 80vw;
        min-width: 280px;
        max-width: 320px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background: var(--primary-color) !important;
        overflow-y: auto;
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }

    /* Mobile overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .menu-toggle {
        display: block;
    }

    /* Ensure all containers don't overflow */
    .content-wrapper {
        max-width: 100%;
        padding: 1rem;
    }

    .page-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Fix cards and grid items */
    .card {
        max-width: 100%;
        margin: 0.5rem 0;
    }

    .action-card {
        max-width: 100%;
    }

    .sidebar-close {
        display: block;
    }

    /* Increase font sizes for mobile */
    body {
        font-size: 16px;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 1.75rem;
    }

    .nav-text {
        font-size: 1.1rem;
    }

    h1, .h1 {
        font-size: 1.8rem;
    }

    h2, .h2 {
        font-size: 1.6rem;
    }

    h3, .h3 {
        font-size: 1.4rem;
    }

    p, .btn {
        font-size: 1rem;
    }

    .card {
        font-size: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-sessions {
        grid-column: span 1;
    }

    .session-list {
        max-width: 100%;
        overflow-x: auto;
    }

    .session-item {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }

    .session-date {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .session-actions {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }

    .session-actions .btn {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .action-card {
        padding: 1.25rem;
    }

    .action-icon {
        font-size: 2rem;
    }

    .messages-container {
        flex-direction: column;
    }

    .conversations-list {
        width: 100%;
        height: 200px;
    }

    /* Coaches page mobile */
    .coaches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .coach-card {
        max-width: 100%;
        padding: 1.25rem;
    }

    .coach-filters {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    /* Session cards mobile */
    .session-card {
        flex-direction: column;
        padding: 1rem;
    }

    .session-date-block {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    /* Progress charts mobile */
    .chart-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    canvas {
        max-height: 250px;
    }

    /* Admin page adjustments */
    .admin-header {
        display: flex;
        align-items: center;
    }

    .admin-sidebar {
        position: fixed;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
        min-height: auto;
    }

    .stat-value {
        font-size: 2rem;
    }

    .charts-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chart-container {
        padding: 1rem;
        height: 300px;
    }

    .reports-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .report-card {
        padding: 1rem;
    }

    .data-table {
        overflow-x: auto;
        display: block;
    }

    .data-table table {
        min-width: 500px;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Settings page adjustments */
    .settings-container {
        flex-direction: column;
        padding: 0;
        max-width: 100%;
    }

    .settings-sidebar {
        width: 100%;
        position: static;
        border-right: none;
        border-bottom: 1px solid rgba(61, 64, 91, 0.1);
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .settings-nav {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .settings-nav-item {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .settings-content {
        padding: 1rem;
        max-width: 100%;
    }

    .settings-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .preference-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .preference-item select {
        width: 100%;
        min-width: unset;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .preference-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Stats page adjustments */
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .export-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }
}

/* Special mobile adjustments for index page */
body.index-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #006D77;
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
/* ==========================================================================
   ENHANCED PAGE STYLES FOR SESSIONS, COACHES, MESSAGES, PROGRESS
   ========================================================================== */

/* Sessions Page Enhancements */
.sessions-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(61, 64, 91, 0.1);
    padding-bottom: 0;
}

.session-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-medium);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.session-tab:hover {
    color: var(--primary-color);
    background: rgba(61, 64, 91, 0.05);
}

.session-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--highlight-color);
    background: rgba(129, 178, 154, 0.05);
}

.session-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 2px solid rgba(61, 64, 91, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.session-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.session-card.cancelled {
    opacity: 0.6;
    background: rgba(244, 241, 222, 0.3);
}

.session-card.past {
    background: rgba(244, 241, 222, 0.5);
}

.session-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    min-width: 80px;
}

.session-date-block .day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.session-date-block .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0.25rem 0;
}

.session-date-block .year {
    font-size: 0.8rem;
    opacity: 0.8;
}

.session-info {
    flex: 1;
}

.session-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.session-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.session-format {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.session-format.video {
    background: rgba(61, 64, 91, 0.1);
    color: var(--primary-color);
}

.session-format.audio {
    background: rgba(129, 178, 154, 0.1);
    color: var(--highlight-color);
}

.session-format.chat {
    background: rgba(242, 204, 143, 0.2);
    color: var(--accent-color);
}

.session-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.session-meta p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-meta .icon {
    font-size: 1rem;
}

.no-sessions {
    text-align: center;
    padding: 3rem;
    color: var(--gray-medium);
    font-size: 1.1rem;
}

/* Coaches Page Enhancements */
.coach-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 2px solid rgba(61, 64, 91, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.coach-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.coach-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.coach-info h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.coach-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.specialty-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(129, 178, 154, 0.1);
    color: var(--highlight-color);
    border-radius: 20px;
    font-size: 0.8rem;
}

.coach-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(61, 64, 91, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-top: 0.25rem;
}

/* Messages Page Enhancements */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    height: calc(100vh - 200px);
}

.conversations-list {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    overflow-y: auto;
    border: 2px solid rgba(61, 64, 91, 0.08);
}

.conversation-item {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.conversation-item:hover {
    background: rgba(129, 178, 154, 0.1);
    transform: translateX(5px);
}

.conversation-item.active {
    background: rgba(129, 178, 154, 0.1);
    border-left: 3px solid var(--highlight-color);
}

.conversation-item.unread {
    font-weight: 600;
}

.conversation-item.unread::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.conversation-name {
    color: var(--primary-color);
    font-weight: 600;
}

.conversation-time {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.conversation-preview {
    color: var(--gray-medium);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-window {
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(61, 64, 91, 0.08);
}

.chat-header {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(244, 241, 222, 0.3);
}

.message {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.message.sent {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    position: relative;
}

.message.received .message-bubble {
    background: var(--white);
    border: 1px solid rgba(61, 64, 91, 0.1);
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: var(--white);
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray-medium);
    margin-top: 0.25rem;
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid rgba(61, 64, 91, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Progress Page Enhancements */
.progress-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.chart-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.chart-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.chart-card canvas {
    max-height: 300px;
}

/* Statistics Page Table Improvements */
.stats-table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.stats-table button {
    white-space: nowrap;
}

/* Better button styling for tables */
.stats-table .btn-small,
.billing-table .btn-small {
    margin: 0;
    min-width: 70px;
}

/* Ensure consistent button styling in all tables */
table button.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* Add padding to table cells with buttons */
td:has(button) {
    padding: 0.75rem !important;
}

/* Additional Coaches Page Styles */
.coaches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.coach-filters {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    background: var(--white);
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

.coach-title {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.coach-bio {
    color: var(--gray-dark);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.coach-languages {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(244, 241, 222, 0.5);
    border-radius: calc(var(--border-radius) / 2);
}

.languages-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.coach-availability {
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.9rem;
    margin: 1rem 0;
    background: rgba(61, 64, 91, 0.05);
    color: var(--gray-dark);
}

.coach-availability.available-now {
    background: rgba(129, 178, 154, 0.15);
    color: var(--highlight-color);
    font-weight: 600;
}

.btn-block {
    width: 100%;
    display: block;
}

.no-coaches {
    text-align: center;
    padding: 3rem;
    color: var(--gray-medium);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Messages Page Layout Fix */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 200px);
    max-height: 700px;
}

.conversations-list {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    overflow-y: auto;
    border: 2px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
}

.conversations-list h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(61, 64, 91, 0.1);
    color: var(--primary-color);
}

.conversation-items {
    max-height: 600px;
    overflow-y: auto;
}

.conversation-item {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.conversation-item:hover {
    background: rgba(129, 178, 154, 0.05);
    transform: translateX(3px);
    border-color: rgba(129, 178, 154, 0.2);
}

.conversation-item.active {
    background: rgba(129, 178, 154, 0.1);
    border-left: 3px solid var(--highlight-color);
}

.conversation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.conversation-role {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--gray-medium);
}

.conversation-preview {
    color: var(--gray-medium);
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 48px;
}

.unread-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.chat-window {
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.chat-header {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
}

.chat-header h3 {
    margin: 0;
    color: var(--white);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(244, 241, 222, 0.2);
    min-height: 400px;
    max-height: 500px;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.message.sent {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.message.received .message-bubble {
    background: var(--white);
    border: 1px solid rgba(61, 64, 91, 0.1);
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: var(--white);
}

.message-text {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
}

.message.sent .message-time {
    color: var(--white);
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border-top: 2px solid rgba(61, 64, 91, 0.1);
    background: var(--white);
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    font-family: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(129, 178, 154, 0.15);
}

.send-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Notification Button Styles */
.notification-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.notification-btn:hover {
    background: rgba(61, 64, 91, 0.1);
    transform: scale(1.05);
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid var(--white);
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 64, 91, 0.1);
    width: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.notification-dropdown.show {
    display: block;
}

.notification-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-dropdown-header h4 {
    margin: 0;
    color: var(--primary-color);
}

.mark-all-read {
    font-size: 0.85rem;
    color: var(--highlight-color);
    cursor: pointer;
    text-decoration: none;
}

.mark-all-read:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.05);
    transition: var(--transition);
    cursor: pointer;
	margin: 15px;
}

.notification-item:hover {
    background: rgba(129, 178, 154, 0.05);
}

.notification-item.unread {
    background: rgba(129, 178, 154, 0.08);
}

.notification-content {
    display: flex;
    gap: 0.75rem;
}

.notification-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 178, 154, 0.15);
}

.notification-details {
    flex: 1;
	text-align: left;
}

.notification-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.notification-message {
    color: var(--gray-medium);
    font-size: 0.85rem;
    line-height: 1.3;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--gray-medium);
    margin-top: 0.25rem;
}

/* Mobile responsiveness for Messages */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .conversations-list {
        max-height: 200px;
    }

    .chat-window {
        min-height: 400px;
    }

    /* Additional mobile improvements for all pages */
    .page-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    /* Prevent zoom on input focus (iOS) */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px;
    }

    /* Ensure tables are scrollable */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Fix button groups on mobile */
    .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-group .btn {
        flex: 1;
        min-width: 100px;
    }
}
/* ==========================================================================
   VIDEO CALL PAGE STYLES (from video-call.css)
   ========================================================================== */

/* Header Bar */
.video-header {
    background: var(--primary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
    z-index: 100;
}

.video-header .session-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.session-timer {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--background-color);
	width: 120px;
}

.session-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Main Video Area */
.video-main {
    flex: 1;
    display: flex;
    position: relative;
    background: var(--light-bg);
}

/* Standard Layout - Large video */
.main-video {
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.main-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-video-placeholder {
    text-align: center;
    color: var(--white);
}

.main-video-placeholder .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

/* Side Panel (Chat) - Different from existing */
.video-call-container .side-panel {
    width: 350px;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.video-call-container .side-panel.hidden {
    transform: translateX(100%);
    width: 0;
	display: none;
}

/* Chat specific styles for video call */
.video-call-container .chat-header {
    padding: 1rem;
    background: var(--background-color);
    border-bottom: 1px solid rgba(61, 64, 91, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-call-container .chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
	color: var(--primary-color);
}

.video-call-container .btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-medium);
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.video-call-container .btn-icon:hover {
    color: var(--primary-color);
}

.video-call-container .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
	min-height: auto;
    max-height: none;
}

.chat-message {
    display: flex;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

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

.chat-message.sent {
    flex-direction: row-reverse;
}

.message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: var(--light-bg);
    color: var(--primary-color);
}

.chat-message.sent .message-bubble {
    background: var(--primary-color);
    color: var(--white);
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* User video in chat */
.chat-user-video {
    height: 150px;
    background: #2a2a2a;
    position: relative;
    border-top: 1px solid rgba(61, 64, 91, 0.1);
}

.chat-user-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-user-video .video-label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(61, 64, 91, 0.1);
    display: flex;
    gap: 0.5rem;
}

.video-call-container .chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(61, 64, 91, 0.2);
    border-radius: var(--border-radius);
    font-family: inherit;
    resize: none;
    font-size: 0.95rem;
	background: var(--background-color)
}

.chat-send {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* Enhanced Video Control Bar */
.video-call-container .video-controls {
    background: var(--background-color);
    padding: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(61, 64, 91, 0.08);
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--background-color);
    transform: scale(1.1);
    border-color: var(--secondary-color);
}

.control-btn.active {
    background: var(--highlight-color);
    color: var(--white);
    border-color: var(--highlight-color);
}

.control-btn.muted {
    background: var(--error-color);
    color: var(--white);
    border-color: var(--error-color);
}

.control-btn.end-call {
    background: var(--error-color);
    color: var(--white);
    border-color: var(--error-color);
    width: 60px;
    height: 60px;
}

.control-btn.end-call:hover {
    background: #c41e3a;
}

/* Screen Share Indicator */
.screen-share-indicator {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: none;
}

.screen-share-indicator.active {
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Mobile Responsive for Video Call */
@media (max-width: 768px) {
    .video-header {
        padding: 0.75rem 1rem;
    }

    .video-header .session-info {
        gap: 1rem;
    }

    .session-title {
        font-size: 0.8rem;
    }

    .video-call-container .side-panel {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 200;
    }

    .video-call-container .video-controls {
        padding: 1rem;
        gap: 0.5rem;
    }

    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .control-btn.end-call {
        width: 50px;
        height: 50px;
    }
	
	.chat-user-video {
		display: none;
	}
}
/* Coaches Section */
.coaches-section {
    background: linear-gradient(135deg, #f5f1e8 0%, #faf8f3 100%);
    padding: 5rem 0;
}

.coaches-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.coaches-avatars {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

.avatar-circle.avatar-1 {
    top: 20%;
    left: 5%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.avatar-circle.avatar-2 {
    top: 5%;
    left: 35%;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.avatar-circle.avatar-3 {
    top: 15%;
    right: 10%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.avatar-circle.avatar-4 {
    bottom: 20%;
    left: 15%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.avatar-circle.avatar-5 {
    bottom: 30%;
    left: 40%;
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
}

.avatar-circle.avatar-6 {
    bottom: 15%;
    right: 15%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.coaches-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.coaches-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.coach-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-checkmark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.coach-feature p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

.coaches-info .cta-button {
    align-self: flex-start;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

@media (max-width: 968px) {
    .coaches-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .coaches-avatars {
        height: 300px;
    }

    .avatar-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .coaches-section {
        padding: 3rem 0;
    }

    .coaches-avatars {
        height: 250px;
    }

    .avatar-circle {
        width: 80px;
        height: 80px;
        border: 3px solid white;
    }

    .coaches-features {
        gap: 1.25rem;
    }

    .coach-feature {
        gap: 0.75rem;
    }

    .feature-checkmark {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .coach-feature p {
        font-size: 0.95rem;
    }

    .coaches-info .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   HONEYPOT ANTI-SPAM FIELD
   ========================================================================== */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   COOKIE / MARKETING CONSENT BANNER
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2000;
    background: var(--primary-color);
    color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    max-width: 60ch;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: flex-end;
    }
}

/* Protected pages stay hidden until the server confirms the session (Auth.guard) */
body.auth-pending {
    visibility: hidden;
}

/* Marks admin pages that still show sample data */
.preview-banner {
    margin-bottom: 1.5rem;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    background: rgba(242, 204, 143, 0.25);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.empty-state {
    padding: 1.5rem;
    color: var(--gray-dark);
    text-align: center;
}

.muted {
    color: var(--gray-medium);
}

.field-hint {
    display: block;
    margin-top: 0.4rem;
    color: var(--gray-dark);
    font-size: 13px;
}

.form-group input[readonly] {
    background: var(--gray-light);
    color: var(--gray-dark);
    cursor: not-allowed;
}

/* Role badges (users table) */
.role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(29, 82, 80, 0.08);
    color: var(--primary-color);
}

.role-badge.role-owner {
    background: var(--primary-dark);
    color: var(--white);
}

.role-badge.role-admin {
    background: var(--primary-color);
    color: var(--white);
}

.role-badge.role-editor,
.role-badge.role-viewer {
    background: rgba(67, 142, 134, 0.15);
    color: var(--primary-color);
}

.role-badge.role-coacher {
    background: rgba(242, 204, 143, 0.35);
    color: var(--primary-color);
}

.role-badge.role-end_user {
    background: rgba(242, 143, 153, 0.2);
    color: var(--primary-color);
}

/* Forms inside SweetAlert dialogs (Add / Edit user) */
.swal-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.swal-form label {
    margin: 0.9rem 0 0.3rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
}

.swal-form .swal2-input,
.swal-form .swal2-select {
    width: 100%;
    margin: 0;
    max-width: none;
}

.swal-form .swal2-input:disabled,
.swal-form .swal2-select:disabled {
    background: var(--gray-light);
    color: var(--gray-dark);
}

.swal-form label.swal-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    color: var(--black);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   ADMIN PANEL (refreshed layout: panels, toolbars, tables, KPIs)
   Scoped to .admin-container so the client app is unaffected.
   ========================================================================== */

.admin-container .sidebar-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.admin-container .sidebar-header .logo {
    font-size: 1.6rem;
}

.sidebar-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.admin-container .admin-avatar {
    background: none;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.admin-container .admin-details {
    min-width: 0;
}

.admin-container .admin-details .admin-name {
    margin: 0;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-container .admin-details .admin-role {
    margin: 0;
}

.admin-container .admin-header {
    padding: 1.1rem 2rem;
    gap: 1rem;
}

.admin-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.admin-header .page-title {
    font-size: 1.45rem;
    margin: 0;
}

.page-subtitle {
    margin: 0.1rem 0 0;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-date {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(29, 82, 80, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 0.9rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(29, 82, 80, 0.06);
    border-color: var(--primary-color);
}

.admin-container .admin-content {
    padding: 1.75rem 2rem 3rem;
    max-width: 1400px;
}

/* Stat cards */
.admin-container .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-container .stat-card {
    padding: 1.25rem 1.4rem;
    gap: 1rem;
    border-left-width: 4px;
    border-left-style: solid;
}

.admin-container .stat-card:hover {
    transform: translateY(-2px);
}

.admin-container .stat-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(242, 204, 143, 0.35);
    box-shadow: none;
}

.admin-container .stat-content h3 {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

.admin-container .stat-number {
    font-size: 1.75rem;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.admin-container .stat-change {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* Panels */
.panel {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.panel-grid > .panel {
    margin-bottom: 1.5rem;
}

.panel-grid > .panel-wide {
    grid-column: 1 / -1;
}

.panel-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.panel-note {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

.panel-link {
    font-size: 0.85rem;
    color: var(--highlight-color);
}

/* Charts need a container with a fixed height: with maintainAspectRatio:false,
   Chart.js sizes the canvas to its parent - an auto-height parent made the
   chart grow without limit. */
.chart-box {
    position: relative;
    height: 280px;
    width: 100%;
}

.chart-box-tall {
    height: 340px;
}

/* Upcoming sessions (overview) */
.upcoming-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
}

.upcoming-row:last-child {
    border-bottom: none;
}

.date-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(29, 82, 80, 0.08);
    color: var(--primary-color);
    line-height: 1.1;
}

.date-chip-day {
    font-size: 1.2rem;
    font-weight: 700;
}

.date-chip-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.upcoming-info {
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
}

.upcoming-info .muted {
    display: block;
    font-size: 0.82rem;
}

/* Activity feed */
.activity-feed {
    max-height: 420px;
    overflow-y: auto;
}

.feed-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.feed-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.feed-time {
    font-size: 0.78rem;
    color: var(--gray-medium);
}

/* Toolbars above lists */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.toolbar-spacer {
    flex: 1;
}

.toolbar .search-input {
    min-width: 240px;
    flex: 0 1 320px;
}

.toolbar .filter-select,
.toolbar .search-input,
.toolbar .date-filter {
    margin: 0;
    height: 44px;
}

/* Tables */
.admin-container .table-container {
    overflow-x: auto;
    border: 1px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
}

.admin-container .table-container.flat {
    border: none;
    box-shadow: none;
    margin: 0;
}

.admin-container .data-table {
    min-width: 720px;
}

.admin-container .data-table th {
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-dark);
    white-space: nowrap;
}

.admin-container .data-table td {
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    vertical-align: middle;
}

.admin-container .data-table tbody tr:last-child td {
    border-bottom: none;
}

.col-actions {
    text-align: right;
    white-space: nowrap;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.user-cell-name {
    font-weight: 600;
    line-height: 1.3;
}

.user-cell-email {
    font-size: 0.82rem;
    color: var(--gray-dark);
}

.when-cell {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    white-space: nowrap;
}

.when-cell .muted {
    font-size: 0.82rem;
}

.btn-table {
    background: var(--white);
    border: 1px solid rgba(29, 82, 80, 0.2);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    margin-left: 0.35rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-table:hover {
    border-color: var(--primary-color);
    background: rgba(29, 82, 80, 0.05);
}

.btn-table.danger {
    color: #B03A2E;
    border-color: rgba(176, 58, 46, 0.3);
}

.btn-table.danger:hover {
    background: rgba(176, 58, 46, 0.06);
    border-color: #B03A2E;
}

.admin-container .pagination {
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-container .page-btn {
    font: inherit;
    font-size: 0.9rem;
}

/* Round avatars (photo or initials) */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Session status / payment badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(29, 82, 80, 0.08);
    color: var(--primary-color);
}

.badge-confirmed { background: rgba(67, 142, 134, 0.15); color: #2D6B64; }
.badge-completed { background: rgba(29, 82, 80, 0.12); color: var(--primary-color); }
.badge-pending_payment { background: rgba(242, 204, 143, 0.45); color: #7A5A1E; }
.badge-no_show { background: rgba(155, 155, 155, 0.18); color: var(--gray-dark); }
.badge-cancelled { background: rgba(242, 143, 153, 0.22); color: #A33B47; }
.badge-draft { background: rgba(155, 155, 155, 0.15); color: var(--gray-dark); }

.pay-paid { color: #2D6B64; font-size: 0.82rem; font-weight: 600; }
.pay-pending { color: #7A5A1E; font-size: 0.82rem; }
.pay-refunded { color: var(--gray-dark); font-size: 0.82rem; }
.pay-refund_failed { color: #B03A2E; font-size: 0.82rem; font-weight: 700; }

/* Coach cards (admin) */
.admin-coaches .coach-card {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
}

.admin-coaches .coach-card:hover {
    transform: translateY(-2px);
}

.admin-coaches .coach-header {
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.admin-coaches .coach-info {
    min-width: 0;
}

.admin-coaches .coach-info h4 {
    margin: 0 0 0.1rem;
}

.admin-coaches .coach-info p {
    margin: 0;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coach-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.coach-headline {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
    min-height: 2.6em;
}

.admin-coaches .coach-stats {
    margin: 0.9rem 0 0;
    padding: 0.8rem 0;
}

.admin-coaches .coach-stats .value {
    font-size: 0.9rem;
}

.admin-coaches .coach-actions {
    margin-top: auto;
    padding-top: 1rem;
    flex-wrap: wrap;
}

/* Segmented control (report period) */
.segmented {
    display: inline-flex;
    background: var(--white);
    border: 1px solid rgba(29, 82, 80, 0.15);
    border-radius: var(--border-radius);
    padding: 3px;
}

.segmented button {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font: inherit;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
}

.segmented button.active {
    background: var(--primary-color);
    color: var(--background-color);
}

/* KPI tiles (reports) */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kpi {
    background: var(--white);
    border: 1px solid rgba(61, 64, 91, 0.08);
    border-radius: var(--border-radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--gray-dark);
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.kpi-note {
    font-size: 0.78rem;
    color: var(--gray-medium);
}

/* Settings form (admin) */
.settings-form {
    max-width: 900px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0 1.5rem;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.toggle-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.integration-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.integration-status.ok { background: rgba(67, 142, 134, 0.15); color: #2D6B64; }
.integration-status.off { background: rgba(155, 155, 155, 0.15); color: var(--gray-dark); }

.field-hint code {
    background: var(--gray-light);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.85em;
    word-break: break-all;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-alert {
    background: rgba(242, 143, 153, 0.15);
    border: 1px solid rgba(242, 143, 153, 0.5);
    color: #8A2E39;
    border-radius: var(--border-radius);
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.admin-alert.info {
    background: rgba(242, 204, 143, 0.2);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Details inside dialogs */
.swal-note {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
    text-align: left;
}

.swal-note.warn {
    color: #8A5A00;
    background: rgba(242, 204, 143, 0.25);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.swal-form .swal2-textarea {
    width: 100%;
    margin: 0;
    max-width: none;
    font: inherit;
    font-size: 0.95rem;
}

.detail-list {
    text-align: left;
    font-size: 0.93rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
}

.detail-row > span {
    color: var(--gray-medium);
}

@media (max-width: 1100px) {
    .panel-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-container .admin-sidebar {
        z-index: 1000;
        width: 80vw;
        max-width: 300px;
        overflow-y: auto;
    }

    .admin-container .admin-header {
        padding: 0.9rem 1rem;
    }

    .admin-container .menu-toggle {
        display: block;
        margin-right: 0;
    }

    .header-date,
    .page-subtitle {
        display: none;
    }

    .admin-container .admin-content {
        padding: 1rem;
    }

    .admin-container .stats-grid {
        padding: 0;
    }

    .toolbar .search-input {
        min-width: 0;
        flex: 1 1 100%;
    }

    .chart-box {
        height: 240px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}

/* ==========================================================================
   CLIENT & COACH APP (phase 2-4 components)
   ========================================================================== */

/* The hidden attribute must win over component display rules (e.g. flex badges). */
[hidden] {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}

.muted {
    color: var(--gray-medium);
}

.btn-link.danger {
    color: #B03A2E;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--gray-medium);
    cursor: pointer;
    font-size: 0.95rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.icon-btn:hover {
    background: rgba(176, 58, 46, 0.08);
    color: #B03A2E;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.nav-item a {
    position: relative;
}

.nav-badge {
    margin-left: auto;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    background: none;
    flex-shrink: 0;
}

/* Notification bell dropdown */
.notif-wrap {
    position: relative;
}

.notif-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 24px);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 64, 91, 0.1);
    z-index: 1100;
    overflow: hidden;
}

.notif-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.notif-panel-header h4 {
    margin: 0;
}

.notif-list {
    max-height: 420px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(61, 64, 91, 0.05);
    padding: 0.8rem 1rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.notif-item:hover {
    background: rgba(67, 142, 134, 0.06);
}

.notif-item.unread {
    background: rgba(242, 204, 143, 0.18);
}

.notif-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    font-size: 0.88rem;
    line-height: 1.4;
}

.notif-text span {
    color: var(--gray-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-text small {
    color: var(--gray-medium);
    font-size: 0.75rem;
}

/* Dashboard */
.next-session-banner {
    position: relative;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.quick-actions .action-card {
    font: inherit;
    color: inherit;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-stat {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 91, 0.08);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.dash-stat-value {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
}

.dash-stat-label {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.card-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-title-row h3 {
    margin: 0;
}

.card-title-row a {
    font-size: 0.9rem;
    color: var(--highlight-color);
}

.setup-checklist {
    border-left: 4px solid var(--secondary-color);
}

.setup-checklist h3 {
    margin-bottom: 0.5rem;
}

.checklist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.page-intro {
    margin-bottom: 1.5rem;
}

.page-intro h2 {
    margin-bottom: 0.3rem;
}

.page-intro p {
    color: var(--gray-dark);
}

/* Session cards */
.session-card .session-header {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.session-card .coach-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.session-card .session-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.session-card .session-actions a.btn {
    text-decoration: none;
}

/* Find a coach */
.coach-filters .search-input {
    min-width: 220px;
    margin: 0;
}

#coachesPage .coach-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.coach-card-top {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.coach-card-top .coach-info h3 {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
}

.coach-card-top .coach-title {
    margin: 0;
}

.coach-rating {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #B7791F;
    font-weight: 600;
}

#coachesPage .coach-bio {
    margin: 0;
}

.coach-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(61, 64, 91, 0.08);
}

.coach-price {
    font-weight: 700;
    color: var(--primary-color);
}

.coach-price .muted {
    font-weight: 400;
}

/* Coach profile dialog (client view) */
.coach-profile-view {
    text-align: left;
}

.cpv-head {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1rem;
}

.cpv-head h2 {
    margin: 0 0 0.25rem;
}

.cpv-headline {
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: var(--highlight-color);
}

.cpv-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    padding: 0.75rem 1rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.coach-profile-view h4 {
    margin: 1.25rem 0 0.5rem;
}

.cpv-about {
    white-space: pre-line;
    line-height: 1.6;
}

.review {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
    font-size: 0.92rem;
}

.review p {
    margin: 0.25rem 0 0;
}

.review-stars {
    color: #D69E2E;
}

/* Clients (coach) */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.client-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.client-card:hover {
    transform: none;
}

.client-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.client-head > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.client-head .muted {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-facts {
    display: flex;
    gap: 1.25rem;
    font-size: 0.92rem;
}

.client-card .muted {
    margin: 0;
}

.client-card .btn {
    align-self: flex-start;
}

/* Messages */
.conversation-avatar {
    background: none;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-back {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
}

.chat-input textarea {
    flex: 1;
    resize: none;
    padding: 0.75rem;
    border: 2px solid rgba(61, 64, 91, 0.1);
    border-radius: var(--border-radius);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    max-height: 160px;
}

.chat-input textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
}

.message-text {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* Availability editor */
.week-editor {
    display: flex;
    flex-direction: column;
}

.week-row {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
}

.week-row:last-child {
    border-bottom: none;
}

.week-row.off .week-day {
    color: var(--gray-medium);
}

.week-day {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    cursor: pointer;
}

.week-day input,
.checkbox-row input,
.pref-row input,
.goal-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.week-ranges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.range input[type="time"] {
    padding: 0.45rem 0.6rem;
    border: 2px solid rgba(61, 64, 91, 0.12);
    border-radius: 8px;
    font: inherit;
    font-size: 0.92rem;
}

.week-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.88rem;
}

.time-off-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: var(--background-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

#timeOffList {
    margin: 0.75rem 0 1rem;
}

.form-actions.split {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-wrapper .form-actions {
    display: flex;
    justify-content: flex-end;
}

/* Coach profile editor */
.profile-status {
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.profile-status.live {
    background: rgba(67, 142, 134, 0.12);
    color: #2D6B64;
}

.profile-status.draft {
    background: rgba(242, 204, 143, 0.3);
    color: #7A5A1E;
}

.coach-profile-form:hover {
    transform: none;
}

.form-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.label-like {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

/* Progress & goals */
.chart-card .chart-box {
    height: 260px;
}

.goals-card:hover {
    transform: none;
}

.goal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
}

.goal-row:last-child {
    border-bottom: none;
}

.goal-row.achieved .goal-main strong {
    color: var(--gray-dark);
}

.goal-main p {
    margin: 0.2rem 0;
    color: var(--gray-dark);
    font-size: 0.92rem;
}

.goal-main .muted {
    font-size: 0.82rem;
}

.goal-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* AI coach */
.ai-chat {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    max-width: 900px;
}

.ai-chat:hover {
    transform: none;
}

.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(61, 64, 91, 0.08);
}

.ai-chat-header h3 {
    margin: 0 0 0.2rem;
}

.ai-chat-header p {
    margin: 0;
    font-size: 0.9rem;
}

.ai-chat-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ai-messages {
    height: 52vh;
    min-height: 320px;
    overflow-y: auto;
    padding: 1.5rem;
    background: rgba(244, 241, 222, 0.35);
}

.ai-chat .chat-input {
    border-top: 1px solid rgba(61, 64, 91, 0.08);
}

.ai-disclaimer {
    margin: 0;
    padding: 0.6rem 1.5rem 1rem;
    font-size: 0.78rem;
    color: var(--gray-medium);
}

.typing .dots {
    display: inline-flex;
    gap: 4px;
}

.typing .dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray-medium);
    animation: typing-blink 1.2s infinite ease-in-out;
}

.typing .dots i:nth-child(2) { animation-delay: 0.2s; }
.typing .dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-blink {
    0%, 80%, 100% { opacity: 0.25; }
    40% { opacity: 1; }
}

/* Booking dialog */
.booking-modal {
    max-width: 760px;
    margin: 3vh auto;
    max-height: 94vh;
    overflow-y: auto;
    padding: 2rem;
}

.booking-modal h2 {
    margin-bottom: 1rem;
}

.booking-coach {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
}

.booking-coach > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.booking-coach .muted {
    font-size: 0.9rem;
}

.booking-coach-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--highlight-color);
}

.week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.slot-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-bottom: 0.25rem;
}

.slot-days > .empty-state,
.slot-empty-note {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.slot-day {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.slot-day-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(29, 82, 80, 0.12);
    font-size: 0.8rem;
    line-height: 1.2;
    position: sticky;
    top: 0;
    background: var(--white);
}

.slot-day-head strong {
    font-size: 1.05rem;
}

.slot-btn {
    border: 1px solid rgba(29, 82, 80, 0.25);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 0.4rem 0.2rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.slot-btn:hover {
    border-color: var(--primary-color);
    background: rgba(29, 82, 80, 0.06);
}

.slot-btn.selected {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.slot-none {
    text-align: center;
    color: var(--gray-medium);
}

#bookingForm {
    margin-top: 1rem;
}

.booking-summary {
    background: rgba(242, 204, 143, 0.2);
    border-radius: var(--border-radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}

/* Dialog extras */
.swal-label {
    display: block;
    text-align: left;
    margin: 1rem 0 0.3rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
}

.star-picker {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-picker button {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #D9D4BF;
    cursor: pointer;
    transition: transform 0.15s;
}

.star-picker button:hover {
    transform: scale(1.15);
}

.star-picker button.on {
    color: #D69E2E;
}

.calendar-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendar-options .btn {
    text-decoration: none;
}

/* Settings page */
.profile-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.profile-photo-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pref-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(61, 64, 91, 0.06);
    cursor: pointer;
}

.pref-row input {
    margin-top: 0.25rem;
}

.pref-row small {
    color: var(--gray-dark);
}

#notificationsForm .btn {
    margin-top: 1.25rem;
}

.table-scroll {
    overflow-x: auto;
}

/* Session room (live.html) */
.room-body {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 55%, #2c6e6a 100%);
    min-height: 100vh;
}

.room {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.room-back {
    color: var(--background-color);
}

.room-back:hover {
    color: var(--secondary-color);
}

.room-logo {
    color: var(--background-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.room-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.room-card {
    background: var(--white);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.room-people {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.room-plus {
    color: var(--gray-medium);
    font-size: 1.5rem;
}

.room-card h1 {
    margin-bottom: 0.4rem;
    font-size: 1.7rem;
}

.room-with {
    color: var(--gray-dark);
    margin-bottom: 0.25rem;
}

.room-when {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.room-countdown {
    margin: 1.75rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.room-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-medium);
}

.room-timer {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.room-timer.live {
    color: #C0392B;
}

.room-state {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
}

.room-state.cancelled {
    color: #B03A2E;
}

.room-join .btn {
    text-decoration: none;
}

.room-join .muted {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.room-notes {
    margin-top: 1.75rem;
    text-align: left;
    background: var(--background-color);
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.92rem;
}

.room-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.room-panel {
    background: var(--white);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.room-panel h3 {
    margin-bottom: 0.3rem;
}

.room-panel > .muted {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.room-chat {
    max-height: 300px;
    min-height: 120px;
    overflow-y: auto;
    padding: 0.5rem;
    background: rgba(244, 241, 222, 0.35);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
}

.room-panel .chat-input {
    padding: 0;
    border-top: none;
    gap: 0.5rem;
}

.room-tips ul {
    padding-left: 1.2rem;
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .room-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .messages-container {
        height: auto;
        max-height: none;
    }

    .messages-container .conversations-list {
        max-height: none;
    }

    .messages-container .chat-window {
        display: none;
    }

    .messages-container.show-chat .conversations-list {
        display: none;
    }

    .messages-container.show-chat .chat-window {
        display: flex;
        min-height: 70vh;
    }

    .chat-back {
        display: block;
    }

    .week-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .week-tools {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .slot-days {
        grid-template-columns: repeat(7, minmax(56px, 1fr));
        overflow-x: auto;
    }

    .booking-modal {
        padding: 1.25rem;
        width: 96%;
    }

    .goal-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .notif-panel {
        position: fixed;
        top: 64px;
        right: 12px;
    }

    .cpv-head {
        flex-direction: column;
        text-align: center;
    }

    .room-card {
        padding: 1.75rem 1.25rem;
    }

    .room-timer {
        font-size: 2rem;
    }
}

/* ==========================================================================
   SVG icon set (js/icons.js) - same line icons as meetalent.com, no circles
   ========================================================================== */
.mt-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

[data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon .mt-icon,
.settings-icon .mt-icon {
    width: 22px;
    height: 22px;
}

.stat-icon,
.admin-container .stat-icon,
.feed-icon,
.notif-icon {
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.stat-icon .mt-icon {
    width: 46px;
    height: 46px;
}

.admin-container .stat-icon .mt-icon {
    width: 40px;
    height: 40px;
}

.action-icon .mt-icon,
.feature-icon .mt-icon {
    width: 44px;
    height: 44px;
}

.feed-icon .mt-icon {
    width: 26px;
    height: 26px;
}

.notif-icon .mt-icon {
    width: 28px;
    height: 28px;
}

.notification-icon .mt-icon,
.menu-toggle .mt-icon {
    width: 26px;
    height: 26px;
}

.sidebar-close .mt-icon {
    width: 22px;
    height: 22px;
}

.icon-btn .mt-icon {
    width: 16px;
    height: 16px;
}

.inline-icon .mt-icon,
.session-meta .icon .mt-icon,
.profile-status .mt-icon,
.goal-main strong .mt-icon,
.admin-alert .mt-icon,
.cpv-facts .mt-icon,
.time-off-row .mt-icon,
.next-session-banner .mt-icon {
    width: 1.3em;
    height: 1.3em;
    vertical-align: -0.3em;
}

.btn-ghost .inline-icon .mt-icon {
    width: 1.15em;
    height: 1.15em;
}

/* ==========================================================================
   Admin > Website Data
   ========================================================================== */
.data-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.data-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem 0.55rem 0.7rem;
    border: 1px solid rgba(29, 82, 80, 0.15);
    border-radius: 999px;
    background: var(--white);
    color: var(--primary-color);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.data-tab .mt-icon {
    width: 24px;
    height: 24px;
}

.data-tab:hover {
    border-color: var(--highlight-color);
}

.data-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.data-tab-count {
    min-width: 1.6em;
    padding: 0 0.45em;
    border-radius: 999px;
    background: rgba(29, 82, 80, 0.08);
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
}

.data-tab-count:empty {
    display: none;
}

.data-tab-count.fresh {
    background: var(--accent-color, #F28F99);
    color: #fff;
}

.data-tab.active .data-tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.website-table td {
    vertical-align: top;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover td {
    background: rgba(242, 204, 143, 0.12);
}

.row-muted td {
    opacity: 0.6;
}

.chip {
    display: inline-block;
    margin: 0 0.15rem 0.2rem 0;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: rgba(67, 142, 134, 0.12);
    color: #2D6B64;
    font-size: 0.78rem;
    white-space: nowrap;
}

.chip-meta {
    background: rgba(242, 143, 153, 0.2);
    color: #A33B47;
}

.lang-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
    background: rgba(242, 204, 143, 0.45);
    color: #7A5A1E;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mono {
    font-family: Consolas, Menlo, monospace;
    font-size: 0.85em;
}

.json-block {
    margin: 0;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: var(--background-color);
    font-family: Consolas, Menlo, monospace;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.swal-sub {
    color: var(--gray-medium);
    font-size: 0.75em;
    font-weight: normal;
}

.detail-row a {
    word-break: break-all;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    margin: -0.25rem 0 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border: 1px solid rgba(29, 82, 80, 0.1);
    border-radius: var(--border-radius);
}

.filter-bar-label {
    align-self: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-medium);
}

.filter-bar-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
    flex: 1;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.78rem;
    color: var(--gray-medium);
}

.filter-field select {
    min-width: 140px;
    max-width: 220px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid rgba(29, 82, 80, 0.18);
    border-radius: 8px;
    background: var(--white);
    font: inherit;
    font-size: 0.88rem;
    color: var(--primary-color);
}

.filter-field.active select {
    border-color: var(--highlight-color);
    background: rgba(67, 142, 134, 0.08);
    font-weight: 600;
}

.btn-link {
    align-self: center;
    border: none;
    background: none;
    padding: 0.25rem 0;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #A33B47;
    text-decoration: underline;
    cursor: pointer;
}

.result-summary {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    color: var(--gray-medium);
}

@media (max-width: 768px) {
    .filter-field,
    .filter-field select {
        flex: 1 1 100%;
        max-width: none;
    }
}
