/* Dashboard New Design - Top Tennis */
/* Utilities */
.tt-u-display-none {
    display: none !important;
}

@keyframes tt-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tt-spin {
    animation: tt-spin 1s linear infinite;
    display: inline-block;
}

:root {
    --tt-primary: #0073aa;
    --tt-secondary: #28a745;
    --tt-accent: #f39c12;
    --tt-bg: #f0f2f5;
    /* Neutral gray background */
    --tt-card-bg: #ffffff;
    --tt-text: #1a202c;
    --tt-border: #e2e8f0;
    --tt-shadow: none;
    --tt-glass: rgba(255, 255, 255, 0.8);
    --tt-glass-border: rgba(255, 255, 255, 0.5);
    --tt-bg-gradient: linear-gradient(135deg, rgba(97, 186, 42, 0.15) 0%, rgba(19, 78, 53, 0.15) 100%);
}

.tt-dashboard-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--tt-text);
    background: transparent;
    /* Allows body background from style.css to show */
    padding: 20px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .tt-dashboard-container {
        padding: 40px 20px 20px;
    }
}

.tt-dashboard-header {
    margin-bottom: 25px;
    /* display: flex; */
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    /* Ensure it wraps on narrow screens */
}

.tt-dashboard-header h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

/* Sections Grid - Mobile Optimized (Single Column) */
.tt-sections-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

/* Header Wallet Badge */
.tt-header-wallet {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--tt-primary);
    /* Use primary color for more "reminder" feel */
    margin-left: auto;
}

.tt-wallet-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.tt-wallet-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--tt-primary);
}

.tt-wallet-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--tt-primary);
    color: white !important;
    border-radius: 50%;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 18px;
    line-height: 0;
    /* Match line height to zero to avoid baseline offsets */
    padding-bottom: 2px;
    /* Nudge up */
    transition: transform 0.2s;
}

.tt-wallet-add:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .tt-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tt-header-wallet {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
        /* Previene sforamento se ci sono padding/border */
    }
}

.tt-main-column,
.tt-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 900px) {
    .tt-sections-grid {
        grid-template-columns: 1fr;
    }
}

/* Common Card Style */
.tt-card {
    background: var(--tt-card-bg);
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--tt-shadow);
    backdrop-filter: blur(10px);
}

.tt-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tt-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Wallet Section */
.tt-wallet-card {
    background: linear-gradient(135deg, var(--tt-primary), #005a87);
    color: white;
    border: none;
}

.tt-wallet-card .tt-card-title {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tt-balance-amount {
    font-size: 32px;
    font-weight: 800;
    margin: 10px 0;
}

.tt-btn-recharge {
    background: white;
    color: var(--tt-primary);
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s;
    margin-top: 15px;
}

.tt-btn-recharge:hover {
    transform: translateY(-2px);
    background: #f8f9fa;
    color: var(--tt-primary);
}

/* Reservations List */
.tt-reservation-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid var(--tt-primary);
    transition: transform 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tt-reservation-item:hover {
    transform: translateX(5px);
}

.tt-res-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.tt-res-date {
    font-size: 14px;
    color: #666;
}

/* Filters and Pagination Header */
.tt-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.tt-list-nav {
    display: flex;
    gap: 10px;
}

.tt-nav-arrow {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #424242;
    transition: all 0.2s;
}

.tt-nav-arrow:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #bdbdbd;
}

.tt-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tt-list-filters {
    display: flex;
    align-items: center;
}

.tt-toggle-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #616161;
}

/* Toggle Switch Style */
.tt-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    margin-right: 10px;
}

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

.tt-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .3s;
    border-radius: 12px;
}

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

input:checked+.tt-slider {
    background-color: #0288d1;
}

input:checked+.tt-slider:before {
    transform: translateX(18px);
}

.tt-toggle-label {
    font-weight: 500;
}

/* Edit Page Sidebar Switch */
.tt-sidebar-status-box {
    margin-bottom: 20px;
}

.tt-switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.tt-switch-label {
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.tt-custom-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.tt-custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tt-custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 12px;
}

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

input:checked+.tt-custom-slider {
    background-color: #46b450;
    /* Green for active */
}

input:focus+.tt-custom-slider {
    outline: none;
}

input:checked+.tt-custom-slider:before {
    transform: translateX(22px);
}

.tt-page-info {
    font-size: 14px;
    font-weight: 600;
    color: #424242;
    min-width: 50px;
    text-align: center;
}

.tt-res-badge {
    background: #e1f5fe;
    color: #0288d1;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.tt-res-badge.course {
    background: #e8f5e9;
    color: #388e3c;
}

.tt-res-badge.event {
    background: #fff3e0;
    color: #ef6c00;
}

.tt-res-badge.cancelled {
    background: #eeeeee;
    color: #757575;
}

.tt-res-badge.done {
    background: #e1f5fe;
    color: #0288d1;
}

/* Cancelled State */
.tt-reservation-item.tt-cancelled,
.tt-reservation-item.tt-past {
    background: #f8f8f8;
    border-left-color: #bdbdbd;
    opacity: 0.8;
}

.tt-reservation-item.tt-cancelled h4,
.tt-reservation-item.tt-cancelled .tt-res-date,
.tt-reservation-item.tt-past h4,
.tt-reservation-item.tt-past .tt-res-date {
    color: #9e9e9e;
}

.tt-res-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.tt-btn-cancel-booking {
    background: transparent;
    border: 1px solid #ffcdd2;
    color: #dc3545;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.tt-btn-cancel-booking:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Booking Stepper */
.tt-stepper {
    margin-top: 20px;
}

.tt-step-content {
    display: none;
}

.tt-step-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tt-grid-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.tt-option-card {
    flex: 0 1 280px;
    min-width: 200px;
    border: 2px solid var(--tt-border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tt-option-card:hover {
    border-color: var(--tt-primary);
    background: #f0f7ff;
}

.tt-option-card.selected {
    border-color: var(--tt-primary);
    background: #e6f2ff;
}

.tt-btn {
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.tt-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.tt-btn-secondary {
    background: #f8f9fa;
    border: 1px solid var(--tt-border);
    color: var(--tt-text);
}

.tt-footer-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

/* Certificate Section */
.tt-cert-info {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--tt-border);
}

.tt-cert-info.tt-valid {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.tt-cert-info.tt-pending {
    background: #fff8e1;
    border-color: #ffecb3;
}

.tt-cert-info.tt-expired,
.tt-cert-info.tt-missing {
    background: #ffebee;
    border-color: #ffcdd2;
}

.tt-cert-msg {
    font-weight: 600;
    margin-bottom: 10px;
}

.tt-cert-file {
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tt-cert-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.tt-cert-actions button {
    padding: 5px 10px;
    border-radius: 12px;
    border: 1px solid var(--tt-border);
    background: white;
    cursor: pointer;
    font-size: 12px;
}

.tt-cert-actions .tt-cert-delete {
    color: #dc3545;
}

/* Upload Area */
.tt-upload-label {
    display: block;
    padding: 12px;
    background: #f0f7ff;
    border: 2px dashed var(--tt-primary);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    color: var(--tt-primary);
    font-weight: 600;
    transition: all 0.2s;
}

.tt-upload-label:hover {
    background: #e6f2ff;
}

/* Modal */
.tt-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.tt-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.tt-modal-close {
    color: #666;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.tt-modal-close:hover {
    color: black;
}

#tt-modal-image-container {
    text-align: center;
    margin-top: 20px;
}

/* Loading Overlay */
.tt-loading-overlay {
    position: relative;
    pointer-events: none;
}

.tt-loading-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 5;
    border-radius: 12px;
}

.tt-loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 12px;
    z-index: 6;
}

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

/* Slots Grid */
.tt-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.tt-slot-opt {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.tt-slot-opt:hover {
    border-color: var(--tt-primary);
    background: #f0f7ff;
}

.tt-slot-opt.selected {
    background: var(--tt-primary);
    color: white;
    border-color: var(--tt-primary);
}

.tt-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.tt-empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px dashed #ccc;
}

/* Toasts */
.tt-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.tt-toast {
    background: white;
    color: var(--tt-text);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    max-width: 350px;
    pointer-events: auto;
    animation: toastIn 0.3s ease-out forwards;
    border-left: 4px solid var(--tt-primary);
}

.tt-toast.success {
    border-left-color: var(--tt-secondary);
}

.tt-toast.error {
    border-left-color: #dc3545;
}

.tt-toast.info {
    border-left-color: var(--tt-primary);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

.tt-toast.fade-out {
    animation: toastOut 0.3s ease-in forwards;
}

@media (max-width: 600px) {
    .tt-toast-container {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }

    .tt-toast {
        max-width: none;
        width: 100%;
    }
}

/* --- Material UI per Edit Atleti --- */
.tt-material-panel {
    border-radius: 12px;
    border: 1px solid var(--tt-border) !important;
    overflow: hidden;
    margin-bottom: 25px !important;
    background: #fff;
}

.tt-material-panel h2.hndle {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-material-panel .inside {
    padding: 20px !important;
    margin: 0 !important;
}

.tt-material-panel .hndle span.dashicons {
    color: var(--tt-primary);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.tt-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
}

.tt-status-chip.tt-valid {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.tt-status-chip.tt-invalid {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.tt-status-chip.tt-age-adult {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.tt-status-chip.tt-age-minor {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}

/* Input moderni */
.tt-material-panel input.regular-text,
.tt-material-panel select,
.tt-material-panel input[type="date"],
.tt-material-panel input[type="tel"],
.tt-material-panel input[type="email"],
.tt-material-panel input[type="number"] {
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    padding: 6px 12px;
    box-shadow: none;
    transition: border-color 0.2s;
    background: #fafafa;
}

.tt-material-panel input:focus,
.tt-material-panel select:focus {
    border-color: var(--tt-primary);
    outline: none;
    background: #fff;
}

/* Guardian box material styles */
.tt-guardian-item {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    transition: box-shadow 0.2s;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    position: relative;
}

.tt-guardian-item:hover {
    border-color: var(--tt-primary) !important;
}

/* Edit Grid 2 Columns */
.tt-edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tt-grid-col .form-table th {
    width: 150px;
}

@media (max-width: 900px) {
    .tt-edit-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Role Chips Colors */
.tt-role-chip {
    padding: 2px 10px;
    font-size: 11px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1.4;
    font-weight: 600;
}

/* Segreteria: Purple */
.tt-role-segretaria {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

/* Amministratore: Dark Slate / Navy */
.tt-role-amministratore {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

/* Atleta: Grey */
.tt-role-atleta {
    background: #f5f5f5;
    color: #616161;
    border: 1px solid #e0e0e0;
}

/* Maestro: Amber / Gold */
.tt-role-maestro {
    background: #fff8e1;
    color: #ff8f00;
    border: 1px solid #ffecb3;
}

/* Preparatore Atletico: Teal / Green */
.tt-role-preparatore-atletico {
    background: #e0f2f1;
    color: #00796b;
    border: 1px solid #b2dfdb;
}

/* Preparatore Mentale: Sky Blue */
.tt-role-preparatore-mentale {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* Tecnico: Orange */
.tt-role-tecnico {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}

/* Fallback for other roles */
.tt-role-default {
    background: #eceff1;
    color: #455a64;
    border: 1px solid #cfd8dc;
}

/* Summary Header on Edit Page */
.tt-edit-header-summary {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 7px;
    margin-top: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tt-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tt-header-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.tt-header-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #2c3338;
}

.tt-header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tt-nav-btn {
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f6f7f7 !important;
    border: 1px solid #dcdcde !important;
    color: #2c3338 !important;
    transition: all 0.2s ease !important;
}

.tt-nav-btn:hover:not(.disabled) {
    background: #f0f0f1 !important;
    border-color: #2271b1 !important;
    color: #2271b1 !important;
    transform: translateY(-1px);
}

.tt-nav-btn.disabled {
    opacity: 0.5;
    cursor: default;
    background: #f6f7f7 !important;
    border-color: #dcdcde !important;
    color: #a7aaad !important;
    box-shadow: none;
}

.tt-nav-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.tt-nav-separator {
    width: 1px;
    height: 24px;
    background: #dcdcde;
    margin: 0 4px;
}

/* Payment Status Chips */

/* --- Status Switcher Premium UI (MotoPress Admin) --- */
.wp-list-table.posts.mpa_payment {
    border: none !important;
    border-radius: 12px !important;
    overflow: visible !important;
    background: #fff !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.wp-list-table.posts.mpa_payment thead th {
    background: #f8fafc !important;
    border-bottom: 2px solid #edf2f7 !important;
    padding: 15px 12px !important;
    font-weight: 700 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    box-shadow: none !important;
}

.wp-list-table.posts.mpa_payment tbody td {
    padding: 15px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #2d3748 !important;
}

/* Fix per doppio label: nasconde lo span generato da MotoPress */
.wp-list-table.posts.mpa_payment td.column-status>span:not(.tt-status-switcher-wrapper),
.wp-list-table.posts.mpa_payment td.status>span:not(.tt-status-switcher-wrapper),
.wp-list-table.posts.mpa_payment td.column-status>.column-status-pending,
.wp-list-table.posts.mpa_payment td.column-status>.column-status-completed,
.wp-list-table.posts.mpa_payment td.column-status>.column-status-on-hold,
.wp-list-table.posts.mpa_payment td.column-status>.column-status-cancelled {
    display: none !important;
}

.tt-status-switcher-wrapper {
    position: relative;
    display: inline-block;
}

.tt-status-spinner.spinner {
    position: absolute;
    top: 50%;
    right: -30px;
    margin-top: -10px;
    float: none;
}

.tt-status-chip-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.01em !important;
    user-select: none !important;
    box-shadow: none !important;
    border: none !important;
    line-height: 1.5 !important;
}

.tt-status-chip-btn:hover {
    transform: translateY(-1px) scale(1.02) !important;
}

.tt-status-chip-btn::after {
    content: 'Ã¢â€“Â¼';
    font-size: 8px;
    margin-left: 8px;
    opacity: 0.7;
    transition: transform 0.3s !important;
}

.tt-status-switcher-wrapper.active .tt-status-chip-btn::after {
    transform: rotate(180deg);
}

/* Colori Status Chip - Targeted Only */
.tt-status-chip-btn.column-status-pending {
    background-color: #f39c12 !important;
    color: #fff !important;
}

.tt-status-chip-btn.column-status-on-hold {
    background-color: #7f8c8d !important;
    color: #fff !important;
}

.tt-status-chip-btn.column-status-completed {
    background-color: #27ae60 !important;
    color: #fff !important;
}

.tt-status-chip-btn.column-status-cancelled,
.tt-status-chip-btn.column-status-failed {
    background-color: #e74c3c !important;
    color: #fff !important;
}

.tt-status-chip-btn.column-status-refunded {
    background-color: #9b59b6 !important;
    color: #fff !important;
}

.tt-status-chip-btn.column-status-abandoned {
    background-color: #34495e !important;
    color: #fff !important;
}

.tt-status-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1000;
    min-width: 160px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    padding: 8px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
}

.tt-status-switcher-wrapper.active .tt-status-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tt-status-option {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tt-status-option:hover {
    background: #f7fafc;
    color: #2d3748;
}

.tt-status-option.active {
    background: #ebf8ff;
    color: #3182ce;
    font-weight: 700;
}

.tt-status-option.active::after {
    content: 'Ã¢Å“â€œ';
    font-weight: 700;
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .tt-home-button {
        min-height: 140px;
        padding: 20px;
    }

    .tt-button-title {
        font-size: 18px;
    }

    .tt-button-icon {
        font-size: 44px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 44px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow removed */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 28px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow: none; */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 28px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow: none; */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 28px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow: none; */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 28px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow: none; */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 28px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-icon.dashicons::before {
    font-size: 54px;
    line-height: 1;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow: none; */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }

    .tt-button-icon.dashicons::before {
        font-size: 28px;
    }
}

/* Home Dashboard Styles */
.tt-home-dashboard {
    padding: 20px 0;
    width: 100%;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tt-home-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tt-home-button:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.tt-home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.tt-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tt-button-icon {
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tt-button-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* text-shadow: none; */
}

/* Color Themes */
.tt-home-button.bg-blue {
    background-color: #3182ce;
}

.tt-home-button.bg-red {
    background-color: #e53e3e;
}

.tt-home-button.bg-green {
    background-color: #38a169;
}

.tt-home-button.bg-orange {
    background-color: #dd6b20;
}

.tt-home-button.bg-purple {
    background-color: #805ad5;
}

.tt-home-button.bg-teal {
    background-color: #319795;
}

.tt-home-button.bg-pink {
    background-color: #d53f8c;
}

.tt-home-button.bg-yellow {
    background-color: #d69e2e;
}

.tt-home-button.bg-cyan {
    background-color: #00b5ad;
}

.tt-home-button.bg-gray {
    background-color: #4a5568;
}

/* Dashicons icon size fix */
.tt-button-icon.dashicons {
    width: 60px;
    height: 60px;
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .tt-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tt-home-button {
        min-height: 100px;
        padding: 10px;
    }

    .tt-button-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .tt-button-icon {
        font-size: 28px;
        height: 32px;
    }
}

/* Utility Classes */
.tt-u-display-none {
    display: none !important;
}

.tt-u-text-center {
    text-align: center;
}

.tt-u-font-weight-600 {
    font-weight: 600;
}

.tt-u-font-weight-700 {
    font-weight: 700;
}

.tt-u-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tt-u-text-uppercase {
    text-transform: uppercase;
}

.tt-u-mt-15 {
    margin-top: 15px;
}

.tt-u-mt-20 {
    margin-top: 20px;
}

.tt-u-mt-30 {
    margin-top: 30px;
}

.tt-u-mb-12 {
    margin-bottom: 12px;
}

.tt-u-mb-15 {
    margin-bottom: 15px;
}

.tt-u-mb-24 {
    margin-bottom: 24px;
}

.tt-u-mb-30 {
    margin-bottom: 30px;
}

.tt-u-pt-20 {
    padding-top: 20px;
}

/* Component Specific */
.tt-recharge-error-banner {
    display: none;
    color: #e53e3e;
    background: #fff5f5;
    padding: 12px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    border: 1px solid #feb2b2;
}

.tt-recharge-loading-view {
    display: none;
    text-align: center;
    padding: 60px 0;
}

.tt-recharge-status-card {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.tt-success-card-wide {
    text-align: center;
    padding: 60px 40px;
}

.tt-section-title-md {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tt-text-muted-md {
    color: #718096;
    font-size: 16px;
    margin-bottom: 24px;
}

.tt-text-dark-md {
    color: #2d3748;
    margin-bottom: 12px;
}

.tt-service-badge {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
}

/* Attendance Dashboard Specific Styles */
.tt-attendance-dashboard .tt-dashboard-header {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--tt-shadow);
    margin-bottom: 25px;
}

.tt-session-card {
    border-left: 5px solid var(--tt-accent);
    margin-bottom: 20px;
}

.tt-students-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tt-student-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--tt-border);
    transition: all 0.2s;
}

.tt-student-row:hover {
    background: #f1f5f9;
}

.tt-student-row.tt-is-present {
    border-color: var(--tt-secondary);
    background: #f1fdf4;
}

.tt-attendance-label {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
}

.tt-attendance-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--tt-secondary);
}

.tt-header-date-picker {
    flex-shrink: 0;
}

.tt-loading-msg,
.tt-empty-msg,
.tt-error-msg {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    border: 1px dashed var(--tt-border);
    color: #64748b;
}

/* Profile Specific Styles */
.tt-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.tt-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tt-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.tt-form-group input,
.tt-form-group select {
    padding: 12px;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: white;
}

.tt-form-group input:focus {
    outline: none;
    border-color: var(--tt-primary);
    border-color: #3182ce;
}

.tt-readonly {
    background-color: #f7fafc !important;
    cursor: not-allowed;
    color: #718096;
}

.tt-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/* Document Status Cards */
.tt-docs-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.tt-status-card {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.tt-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.tt-status-card.tt-status-active {
    border-color: #c6f6d5;
    background: #f0fff4;
}

.tt-status-card.tt-status-active::before {
    background: #48bb78;
}

.tt-status-card.tt-status-expired {
    border-color: #fed7d7;
    background: #fff5f5;
}

.tt-status-card.tt-status-expired::before {
    background: #f56565;
}

.tt-status-card.tt-status-pending {
    border-color: #feebc8;
    background: #fffaf0;
}

.tt-status-card.tt-status-pending::before {
    background: #ed8936;
}

.tt-status-card.tt-status-missing {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.tt-status-card.tt-status-missing::before {
    background: #cbd5e0;
}

.tt-status-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tt-status-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3182ce;
    color: white;
}

.tt-status-info h4 {
    margin: 0;
    font-size: 16px;
    color: #2d3748;
}

.tt-status-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tt-status-active .tt-status-label {
    color: #2f855a;
}

.tt-status-expired .tt-status-label {
    color: #c53030;
}

.tt-status-pending .tt-status-label {
    color: #c05621;
}

.tt-status-missing .tt-status-label {
    color: #4a5568;
}

.tt-status-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tt-expiry-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 12px;
    border-radius: 12px;
}

.tt-expiry-info label {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

.tt-expiry-info input {
    border: none !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    text-align: right;
    width: 100px;
    padding: 0 !important;
    box-shadow: none !important;
}

.tt-doc-actions {
    margin-top: 5px;
}

.tt-current-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tt-btn-icon {
    text-decoration: none;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.tt-btn-icon:hover {
    background: #edf2f7;
    transform: scale(1.05);
}

.tt-btn-icon.tt-delete-file {
    color: #e53e3e;
    background: #fff5f5;
    border-color: #fed7d7;
}

.tt-btn-icon.tt-delete-file:hover {
    background: #feb2b2;
}

.tt-upload-area .tt-btn-outline {
    width: 100%;
    border-style: dashed;
    background: transparent;
    color: var(--tt-primary);
}

.tt-upload-area .tt-btn-outline:hover {
    background: var(--tt-primary);
    color: white;
}

@media (max-width: 768px) {
    .tt-docs-status-grid {
        grid-template-columns: 1fr;
    }
}

/* Recharge Specific Styles - Unified */
.tt-recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.tt-recharge-box {
    cursor: pointer;
    padding: 24px 16px;
    border: 2px solid var(--tt-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--tt-card-bg);
}

.tt-recharge-box:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: var(--tt-shadow);
}

.tt-recharge-box.active {
    border-color: var(--tt-primary) !important;
    background: #ebf8ff;
    border-color: #3182ce;
}

.tt-recharge-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--tt-text);
    line-height: 1;
}

.tt-recharge-box.active .tt-recharge-amount {
    color: var(--tt-primary);
}

.tt-recharge-label {
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tt-gateways-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tt-gateway-option {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid var(--tt-border);
    border-radius: 12px;
    gap: 16px;
    transition: all 0.2s;
    background: var(--tt-card-bg);
}

.tt-gateway-option:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.tt-gateway-option:has(input:checked) {
    border-color: var(--tt-primary);
    background: #ebf8ff;
}

.tt-gateway-name {
    font-weight: 600;
    color: var(--tt-text);
    font-size: 15px;
}

.tt-gateway-desc {
    font-size: 13px;
    color: #718096;
    margin-top: 2px;
}

.tt-recharge-btn {
    width: 100%;
    height: 56px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    color: white !important;
    transition: all 0.3s !important;
}

.tt-recharge-btn:not(:disabled) {
    background: #3182ce !important;
    color: white !important;
}

.tt-recharge-btn:disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.tt-recharge-btn:not(:disabled):hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

.tt-loading-spinner {
    border: 3px solid #edf2f7;
    border-top: 3px solid var(--tt-primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.tt-success-icon {
    font-size: 48px;
    color: #38a169;
    margin-bottom: 20px;
    background: #c6f6d5;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .tt-recharge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tt-status-option.active::after {
    content: 'Ã¢Å“â€œ';
    font-weight: 700;
}

/* Buttons */
.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    gap: 8px;
    border: none;
}

.tt-btn-primary {
    background: var(--tt-primary);
    color: #fff !important;
}

.tt-btn-primary:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.tt-btn-secondary {
    background: var(--tt-secondary);
    color: #fff !important;
}

.tt-btn-secondary:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}

.tt-btn-outline {
    background: transparent;
    border: 1px solid var(--tt-primary);
    color: var(--tt-primary) !important;
}

.tt-btn-outline:hover {
    background: var(--tt-primary);
    color: #fff !important;
}

.tt-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

/* Attendance Dashboard Extras */
.tt-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.tt-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.tt-student-row {
    transition: all 0.2s ease;
}

.tt-student-row.tt-is-present {
    background: rgba(40, 167, 69, 0.05);
}

.tt-attendance-check:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.tt-confirm-session-btn {
    transition: transform 0.2s;
}

.tt-confirm-session-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.tt-confirm-session-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Home Dashboard Enhancements */
.tt-home-container {
    padding: 20px 20px 100px 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.tt-credit-card {
    background: linear-gradient(110deg, #00A651 0%, #00823F 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 130, 63, 0.25);
    transition: transform 0.2s;
    text-decoration: none !important;
}

.tt-credit-card:hover {
    transform: translateY(-2px);
}

.tt-credit-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 5px;
    font-weight: 500;
    color: white;
}

.tt-credit-value {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: white;
}

.tt-credit-add-btn {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.tt-credit-add-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.tt-credit-add-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.tt-home-btn {
    padding: 25px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.tt-home-btn:hover {
    transform: scale(1.02);
}

.tt-home-btn-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.tt-home-btn-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-home-btn-label {
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.tt-home-btn-sublabel {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.6;
    margin-top: 2px;
}

.tt-dashboard-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 15px;
    display: flex !important;
    align-items: center;
}

.tt-dashboard-section-title .dashicons {
    color: #0F9D58;
    margin-right: 10px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.tt-next-booking-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    border: 1px solid #f8f9fa;
    text-decoration: none !important;
    transition: transform 0.2s;
}

.tt-next-booking-card:hover {
    transform: translateY(-2px);
}

.tt-next-booking-icon-wrapper {
    width: 50px;
    height: 50px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.tt-next-booking-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
}

.tt-next-booking-details p {
    margin: 0;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.tt-no-booking-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid #f8f9fa;
}

.tt-no-booking-card p {
    margin: 0;
    font-size: 15px;
    color: #718096;
    font-weight: 500;
}

.tt-no-booking-link {
    color: #0F9D58;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.tt-stats-grid {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.tt-stat-card {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 1px solid #f8f9fa;
}

.tt-stat-label-top {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.tt-stat-value {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 800;
    color: #2D3748;
}

.tt-stat-label-bottom {
    margin: 0;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.tt-green-icon {
    color: #0F9D58 !important;
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.tt-dashboard-section {
    margin-bottom: 30px;
}

/* PWA Button Styles */
.tt-btn-pwa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0F9D58;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 157, 88, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tt-btn-pwa:hover {
    background-color: #0c8046;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 157, 88, 0.4);
}

.tt-btn-pwa:active {
    transform: scale(0.98);
}

.tt-btn-pwa .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Override for existing buttons to match PWA style */
.tt-btn-primary {
    background-color: #0F9D58 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(15, 157, 88, 0.2) !important;
}

/* Dashboard Button Colors */
.tt-home-btn.btn-yellow {
    background-color: #FFFB95;
}

.tt-home-btn.btn-yellow .tt-home-btn-icon,
.tt-home-btn.btn-yellow .tt-home-btn-label,
.tt-home-btn.btn-yellow .tt-home-btn-sublabel {
    color: #8A7300;
}

.tt-home-btn.btn-orange {
    background-color: #FFD6B0;
}

.tt-home-btn.btn-orange .tt-home-btn-icon,
.tt-home-btn.btn-orange .tt-home-btn-label,
.tt-home-btn.btn-orange .tt-home-btn-sublabel {
    color: #9C4221;
}

.tt-home-btn.btn-green {
    background-color: #C6F6D5;
}

.tt-home-btn.btn-green .tt-home-btn-icon,
.tt-home-btn.btn-green .tt-home-btn-label,
.tt-home-btn.btn-green .tt-home-btn-sublabel {
    color: #22543D;
}

.tt-home-btn.btn-blue {
    background-color: #D1E9FF;
}

.tt-home-btn.btn-blue .tt-home-btn-icon,
.tt-home-btn.btn-blue .tt-home-btn-label,
.tt-home-btn.btn-blue .tt-home-btn-sublabel {
    color: #2A4365;
}

.tt-home-btn.btn-violet {
    background-color: #F3E8FF;
}

.tt-home-btn.btn-violet .tt-home-btn-icon,
.tt-home-btn.btn-violet .tt-home-btn-label,
.tt-home-btn.btn-violet .tt-home-btn-sublabel {
    color: #6B21A8;
}

.tt-home-btn.btn-default {
    background-color: #F3F4F6;
}


.tt-home-btn.btn-default .tt-home-btn-icon,
.tt-home-btn.btn-default .tt-home-btn-label,
.tt-home-btn.btn-default .tt-home-btn-sublabel {
    color: #2D3748;
}

/* Event Booking Styles */
.tt-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
    padding: 10px 0;
}

.tt-event-item-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid #efefef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tt-event-item-card:hover {
    transform: translateY(-5px);
}

.tt-event-image {
    height: 180px;
    position: relative;
    background: #f0f0f0;
}

.tt-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-event-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.5);
}

.tt-event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--tt-primary, #27ae60);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tt-event-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tt-event-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.tt-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.tt-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tt-meta-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.tt-event-actions {
    margin-top: auto;
}

.tt-book-event-btn {
    width: 100%;
}

.tt-event-confirm-view .tt-card-title {
    background: #fdfdfd;
    border-bottom: 2px solid #efefef;
    padding: 15px 20px;
    color: var(--tt-primary, #27ae60);
}

.tt-event-summary-item h2 {
    color: #333;
    font-size: 1.5rem;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
}

.tt-event-confirm-view .tt-confirm-content {
    padding: 24px;
}

.tt-event-confirm-view .tt-form-row {
    margin-top: 20px;
}

.tt-event-confirm-view .tt-form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #444;
}

.tt-card-actions {
    display: flex;
    gap: 15px;
    padding: 20px 24px;
    border-top: 1px solid var(--tt-border, #efefef);
    justify-content: flex-end;
}

.tt-card-actions .tt-btn {
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    min-width: 140px;
}

.tt-event-summary-item {
    margin-bottom: 30px;
    color: var(--tt-text, #1a202c);
}

.tt-summary-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tt-primary, #0073aa);
}

.tt-summary-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 0.95rem;
}

.tt-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tt-summary-location-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.tt-location-address {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
    margin-left: 28px;
}

.tt-summary-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    background: #fff;
    padding: 0;
    margin-bottom: 25px;
    font-style: italic;
}

.tt-summary-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--tt-secondary, #28a745);
    margin: 25px 0;
}

.tt-summary-notice {
    padding: 16px 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border-left: 5px solid var(--tt-secondary, #28a745);
}

.tt-summary-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #166534;
    line-height: 1.5;
}

.tt-btn-secondary.tt-back-to-events {
    background: #f1f5f9;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
}

.tt-btn-secondary.tt-back-to-events:hover {
    background: #e2e8f0;
    color: #1e293b !important;
}

@media (max-width: 600px) {
    .tt-card-actions {
        flex-direction: column-reverse;
        padding: 15px;
    }

    .tt-card-actions .tt-btn {
        width: 100%;
        margin: 0;
    }
}

/* Selected State for Unified Cards (Used in Stepper) */
.tt-event-item-card.selected {
    border: 2px solid #0F9D58 !important;
    box-shadow: 0 8px 25px rgba(15, 157, 88, 0.15) !important;
    position: relative;
}

.tt-event-item-card.selected::before {
    content: '\2713';
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0F9D58;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Disabled State for Unified Cards */
.tt-event-item-card.tt-disabled {
    opacity: 0.6;
    filter: grayscale(0.8);
    cursor: not-allowed !important;
}

.tt-event-item-card.tt-disabled .tt-btn {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
}

.tt-event-item-card.tt-disabled:hover {
    transform: none !important;
}

/* Specific adjustments for non-event offerings in the stepper */
#tt-offerings-grid .tt-event-item-card {
    height: 100%;
}

@media (max-width: 992px) {
    .tt-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tt-events-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

/* Level Filters (Step 3) */
.tt-level-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tt-level-pill {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tt-level-pill:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.tt-level-pill.active {
    background: white;
    border-color: var(--pill-color, #0F9D58);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tt-level-pill::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
}

.tt-level-pill[style] {
    --current-color: var(--pill-color);
}

.tt-level-pill[style]::before {
    background: var(--pill-color);
}

.tt-level-pill.active::after {
    content: '\2713';
    font-size: 11px;
    margin-left: 2px;
    font-weight: 900;
    color: var(--pill-color, #0F9D58);
}

/* Admin User Selector */
.tt-admin-user-selector {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.tt-admin-user-selector .tt-form-row {
    margin-bottom: 0;
}

.tt-admin-user-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.tt-admin-user-selector .dashicons {
    color: #0F9D58;
}

.tt-search-container {
    position: relative;
}

.tt-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 5px;
}

.tt-search-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

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

.tt-search-item:hover {
    background: #f8fafc;
}

.tt-search-item-main {
    display: flex;
    flex-direction: column;
}

.tt-user-name {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.tt-user-email {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.tt-search-item-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.tt-user-level {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
}

.tt-user-balance {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

/* Level Badges */
.badge-green,
.badge-verde {
    background: #dcfce7;
    color: #15803d;
}

.badge-yellow,
.badge-giallo {
    background: #fef9c3;
    color: #a16207;
}

.badge-orange,
.badge-arancione {
    background: #ffedd5;
    color: #c2410c;
}

.badge-red,
.badge-rosso {
    background: #fee2e2;
    color: #b91c1c;
}

.tt-search-loading,
.tt-search-no-results {
    padding: 15px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.tt-search-loading {
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tt-search-no-results {
    padding: 15px;
    text-align: center;
    color: #e11d48;
    font-weight: 500;
}

.tt-selected-info {
    margin-top: 10px;
}

.tt-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0F9D58;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.tt-info-badge .tt-reset-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s;
}

.tt-info-badge .tt-reset-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Sedi Preferite Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.tt-location-preferred {
    border: 2px solid #f39c12 !important;
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.18) !important;
}

.tt-location-preferred .tt-event-image {
    position: relative;
}

/* Stellina nel titolo della card (inline) */
.tt-loc-star {
    color: #f39c12;
    font-size: 15px;
    margin-right: 4px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(243, 156, 18, 0.5));
}

/* Leggero ring arancione quando la card ÃƒÂ¨ selezionata */
.tt-location-preferred.selected {
    border-color: #e67e22 !important;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.3), 0 4px 16px rgba(243, 156, 18, 0.25) !important;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Selettore Sedi Profilo Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.tt-location-toggle-item:hover {
    border-color: #f39c12 !important;
    background-color: #fffaf0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tt-location-toggle-item.is-active {
    background-color: #f39c12 !important;
    color: #fff !important;
    border-color: #e67e22 !important;
    font-weight: 600;
}

.tt-location-toggle-item.is-active .tt-loc-name {
    color: #fff !important;
}

.tt-location-toggle-item.is-active .tt-loc-icon {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Weekly Slots Grid (Steps 4 & 5 merged) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.tt-weekly-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tt-btn-nav {
    background: var(--tt-bg-light);
    border: 1px solid var(--tt-border);
    color: var(--tt-text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tt-btn-nav:hover {
    background: var(--tt-primary);
    color: #fff;
    border-color: var(--tt-primary);
    transform: scale(1.05);
}

.tt-week-label {
    font-weight: 600;
    color: var(--tt-text-main);
    font-size: 14px;
    min-width: 140px;
    text-align: center;
}

.tt-weekly-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
    padding: 10px 0;
}

@media (max-width: 992px) {
    .tt-weekly-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tt-weekly-slots-grid {
        grid-template-columns: 1fr;
    }
}

.tt-weekly-badge {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.tt-weekly-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--tt-primary);
    transition: width 0.3s ease;
}

.tt-weekly-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 115, 170, 0.3);
}

.tt-weekly-badge.selected {
    border-color: var(--tt-primary);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
    background-color: #f0f8ff;
}

.tt-weekly-badge.selected::before {
    width: 6px;
    background-color: var(--tt-secondary);
}

.tt-wb-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--tt-text-main);
}

.tt-wb-title {
    font-size: 12px;
    color: var(--tt-primary);
    font-weight: 600;
}

.tt-wb-emp {
    font-size: 12px;
    color: var(--tt-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.tt-wb-emp .dashicons,
.tt-wb-price .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.tt-wb-price {
    font-size: 11px;
    color: var(--tt-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.tt-weekly-badge.tt-full {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #e2e8f0;
    box-shadow: none;
}

.tt-weekly-badge.tt-full::before {
    background-color: #cbd5e0;
}

.tt-weekly-badge.tt-full:hover {
    transform: none;
    box-shadow: none;
    border-color: #e2e8f0;
}

.tt-weekly-badge.tt-full .tt-wb-price {
    color: #e53e3e;
    font-weight: 600;
}

/* --- Notification System Styles (from TT_Notifications) --- */
#wpadminbar #wp-admin-bar-tt-notifications-bar .tt-notif-adminbar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e84343;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    margin-left: 4px;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: -1px;
    animation: tt-badge-pulse 2s infinite;
}

@keyframes tt-badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 67, 67, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(232, 67, 67, 0);
    }
}

#wpadminbar #wp-admin-bar-tt-notifications-bar .ab-icon.dashicons-bell {
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.tt-notifiche-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e84343;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 5px;
    margin-left: 5px;
}

.tt-notif-item {
    border-left: 4px solid #0F9D58;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.tt-notif-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.tt-notif-item.tt-notif-read {
    border-left-color: #cbd5e0;
    opacity: 0.85;
    box-shadow: none;
    border: 1px solid #edf2f7;
    border-left: 4px solid #cbd5e0;
}

.tt-notif-btn-dismiss {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #a0aec0;
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    z-index: 10;
}

.tt-notif-btn-dismiss:hover {
    color: #e53e3e;
}

.tt-notif-btn-dismiss .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.tt-notif-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
    padding-right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-notif-item-unread-dot {
    width: 10px;
    height: 10px;
    background: #e84343;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #fff, 0 0 5px rgba(232, 67, 67, 0.4);
}

.tt-notif-item-date {
    font-size: 12px;
    color: #718096;
    margin-bottom: 0;
}

.tt-notif-item-content {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.tt-notif-item.tt-notif-expanded .tt-notif-item-content {
    display: block;
}

.tt-notif-item-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.tt-notif-btn-read {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tt-notif-btn-read:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

.tt-notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.tt-notif-empty .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    color: #cbd5e0;
}

.tt-notif-load-more-container {
    text-align: center;
    padding: 20px 0 10px;
}

.tt-btn-load-more {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    border-radius: 20px;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tt-btn-load-more:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tt-btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tt-notif-btn-dismiss {
        top: 10px;
        right: 10px;
    }
}

/* Weekly Calendar View Styles */
.tt-weekly-calendar-wrapper {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.tt-calendar-header {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--tt-border);
    font-weight: 700;
    font-size: 13px;
    color: #475569;
}

.tt-time-col-header {
    width: 60px;
    flex-shrink: 0;
    border-right: 1px solid var(--tt-border);
}

.tt-days-row-header {
    display: flex;
    flex-grow: 1;
}

.tt-day-header {
    flex: 1;
    padding: 10px 5px;
    text-align: center;
    border-right: 1px solid var(--tt-border);
}

.tt-day-header:last-child {
    border-right: none;
}

.tt-calendar-scroller {
    overflow-y: auto;
    max-height: 600px;
    position: relative;
}

.tt-calendar-body {
    display: flex;
    position: relative;
    --row-height: 60px;
    /* 1 hour = 60px */
}

.tt-time-column {
    width: 60px;
    flex-shrink: 0;
    background: #f8fafc;
    border-right: 1px solid var(--tt-border);
    position: sticky;
    left: 0;
    z-index: 2;
}

.tt-time-slot-label {
    height: var(--row-height);
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    line-height: var(--row-height);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.tt-days-grid {
    display: flex;
    flex-grow: 1;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 100% var(--row-height);
}

.tt-day-column {
    flex: 1;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 900px;
    /* 15 hours * 60px */
}

.tt-day-column:last-child {
    border-right: none;
}

/* Admin Multi-Booking Panel (Step 4) */
#tt-admin-multi-booking-panel {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

#tt-admin-multi-booking-panel h4 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 15px;
}

#tt-selected-athletes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    min-height: 40px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.tt-athlete-pill {
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
    animation: ttFadeIn 0.2s ease-out;
}

.tt-athlete-pill .tt-remove {
    cursor: pointer;
    background: #7dd3fc;
    color: #0369a1;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}

.tt-athlete-pill .tt-remove:hover {
    background: #38bdf8;
    color: #fff;
}

.tt-multi-search-container {
    position: relative;
    max-width: 400px;
}

#tt-multi-athlete-search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
}

#tt-multi-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 110;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
}

.tt-search-item-main {
    display: flex;
    flex-direction: column;
}

.tt-user-email {
    font-size: 0.75rem;
    color: #64748b;
}

.tt-user-level {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
}

.tt-user-balance {
    font-weight: 600;
    color: #059669;
}

@keyframes ttFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tt-calendar-slot {
    position: absolute;
    left: 4px;
    right: 4px;
    padding: 10px 12px;
    /* Increased padding */
    border-radius: 12px;
    /* Slightly more rounded */
    border: 1px solid var(--slot-color, var(--tt-primary));
    border-left-width: 5px;
    /* Thicker left border accent */
    background-color: var(--slot-bg, #fff);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    /* Better gap between items */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tt-calendar-slot:hover {
    z-index: 20;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tt-calendar-slot.selected {
    background-color: var(--tt-secondary-light, #f0f9ff) !important;
    border-color: var(--tt-secondary) !important;
    box-shadow: 0 0 0 2px var(--tt-secondary);
}

.tt-calendar-slot.tt-full {
    background: #f1f5f9;
    border-color: #94a3b8;
    opacity: 0.85;
    /* Keep it readable */
    cursor: not-allowed;
    background-image: linear-gradient(45deg,
            rgba(0, 0, 0, 0.03) 25%,
            transparent 25%,
            transparent 50%,
            rgba(0, 0, 0, 0.03) 50%,
            rgba(0, 0, 0, 0.03) 75%,
            transparent 75%,
            transparent);
    background-size: 20px 20px;
    border-left-color: #64748b;
}

/* Allow pointer events for admins so they can click even if full */
.tt-admin-logged-in .tt-calendar-slot.tt-full {
    cursor: pointer;
    opacity: 0.95;
}

.tt-slot-full-badge {
    position: absolute;
    bottom: 5px;
    right: 8px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.tt-slot-full-badge .dashicons {
    font-size: 10px;
    width: 10px;
    height: 10px;
}

.tt-slot-time {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 3px;
    font-size: 12px;
}

.tt-slot-emp {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--tt-primary);
    font-weight: 700;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tt-calendar-scroller {
        overflow-x: auto;
    }

    .tt-calendar-body,
    .tt-calendar-header {
        min-width: 600px;
        /* Force minimum width to enable horizontal scroll */
    }
}


/* Booking Breadcrumbs */
.tt-booking-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--tt-border);
    overflow-x: auto;
}

.tt-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.tt-breadcrumb-item:not(:last-child)::after {
    content: "\203A";
    margin-left: 8px;
    color: #cbd5e1;
    font-size: 12px;
}

.tt-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.tt-breadcrumb-item.active {
    color: var(--tt-primary);
    font-weight: 600;
}

.tt-breadcrumb-item.active .tt-step-num {
    background: var(--tt-primary);
    color: white;
}

.tt-breadcrumb-item.completed {
    color: var(--tt-text);
}

.tt-breadcrumb-item.completed .tt-step-num {
    background: var(--tt-secondary);
    color: white;
}

.tt-step-val {
    color: var(--tt-primary);
    font-weight: 700;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.tt-step-val:empty {
    display: none;
}

/* Adjust WP List Table column widths for User Admin pages */
.wp-list-table .column-wallet {
    width: 115px !important;
}

.wp-list-table .column-eta {
    width: 60px !important;
    white-space: nowrap !important;
}

.wp-list-table .column-role {
    width: 148px !important;
    white-space: nowrap !important;
}

.wp-list-table .column-bookings {
    width: 100px !important;
    white-space: nowrap !important;
}

/**
 * admin-wallet-edit styles
 */
.tt-wallet-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    user-select: none;
    min-width: 80px;
    text-align: center;
}

.tt-wallet-chip:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Green: Positive balance */
.tt-wallet-positive {
    background-color: #d1e7dd;
    color: #134e35;
    border-color: #badbcc;
}

/* Gray: Zero balance */
.tt-wallet-zero {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
}

/* Red: Negative balance */
.tt-wallet-negative {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}

/* Edit mode */
.tt-wallet-edit-input {
    width: 90px !important;
    padding: 2px 8px !important;
    height: 28px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    box-shadow: 0 0 0 2px rgba(61, 186, 42, 0.2) !important;
    border-color: #61ba2a !important;
}

.tt-wallet-chip.is-loading {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

.tt-wallet-chip.is-loading::after {
    content: "";
}

/* Daily Slots Grid & Cards */
.tt-daily-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--tt-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#tt-current-day-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tt-primary);
    text-transform: capitalize;
}

.tt-btn-nav {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.tt-btn-nav:hover {
    background: #e2e8f0;
    color: var(--tt-primary);
}

.tt-daily-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tt-daily-slot-card {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tt-daily-slot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--tt-primary);
}

.tt-daily-slot-card.selected {
    background: #f0f9ff;
    border-color: var(--tt-primary);
    box-shadow: 0 0 0 2px var(--tt-primary);
}

.tt-daily-slot-card.tt-full {
    background: #f8fafc;
    border-color: #e2e8f0;
    opacity: 0.7;
    cursor: not-allowed;
}

.tt-daily-slot-card.tt-full::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px);
    pointer-events: none;
    border-radius: 12px;
}

.tt-admin-logged-in .tt-daily-slot-card.tt-full {
    cursor: pointer;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .tt-daily-nav-header {
        border-radius: 12px;
        margin-bottom: 20px;
        border: 1px solid var(--tt-border);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    #tt-current-day-label {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--tt-primary);
        text-transform: capitalize;
    }

    .tt-btn-nav {
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        color: #475569;
        padding: 8px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s;
    }

    .tt-btn-nav:hover {
        background: #e2e8f0;
        color: var(--tt-primary);
    }

    .tt-daily-slots-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }

    .tt-daily-slot-card {
        background: #fff;
        border: 1px solid var(--tt-border);
        border-radius: 12px;
        padding: 15px;
        position: relative;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .tt-daily-slot-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-color: var(--tt-primary);
    }

    .tt-daily-slot-card.selected {
        background: #f0f9ff;
        border-color: var(--tt-primary);
        box-shadow: 0 0 0 2px var(--tt-primary);
    }

    .tt-daily-slot-card.tt-full {
        background: #f8fafc;
        border-color: #e2e8f0;
        opacity: 0.7;
        cursor: not-allowed;
    }

    .tt-daily-slot-card.tt-full::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient(45deg,
                transparent,
                transparent 10px,
                rgba(0, 0, 0, 0.02) 10px,
                rgba(0, 0, 0, 0.02) 20px);
        pointer-events: none;
        border-radius: 12px;
    }

    .tt-admin-logged-in .tt-daily-slot-card.tt-full {
        cursor: pointer;
        opacity: 0.9;
    }

    @media (max-width: 600px) {
        .tt-daily-nav-header {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }

        .tt-btn-nav {
            width: 100%;
            justify-content: center;
        }
    }

}

/* --- ATHLETE SELECTION IMPROVEMENTS --- */
.tt-search-container {
    position: relative;
    width: 100%;
}

.tt-athlete-results,
.tt-multi-athlete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.tt-search-item,
.tt-js-multi-athlete-select {
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.tt-search-item:last-child,
.tt-js-multi-athlete-select:last-child {
    border-bottom: none;
}

.tt-search-item:hover,
.tt-js-multi-athlete-select:hover {
    background-color: #f8fafc;
}

.tt-athlete-search-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tt-athlete-search-name {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    flex: 1;
}

.tt-athlete-search-email {
    font-weight: 400;
    font-size: 13px;
    color: #64748b;
    margin-left: 4px;
}

.tt-athlete-search-level {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    flex-shrink: 0;
}

/* Athlete Pills in Selection */
.tt-athlete-pill {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 99px;
    margin: 4px;
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    gap: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tt-athlete-pill-level {
    font-size: 10px;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    color: #64748b;
}

.tt-js-remove-athlete {
    cursor: pointer;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
    margin-left: 4px;
}

.tt-js-remove-athlete:hover {
    color: #ef4444;
}

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

    .tt-search-item,
    .tt-js-multi-athlete-select {
        padding: 16px 20px;
        /* Even larger for mobile */
    }

    .tt-athlete-search-name {
        font-size: 17px;
    }

    .tt-athlete-search-email {
        display: block;
        /* Email on its own line for small screens */
        margin-left: 0;
        margin-top: 2px;
    }

    .tt-athlete-search-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .tt-athlete-search-level {
        align-self: flex-start;
    }
}

/* Step 3 Summary Grid - Unified Block Style */
.tt-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.tt-summary-card {
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 20px;
    cursor: default !important;
    min-height: 90px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tt-summary-card:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--tt-border) !important;
}

.tt-summary-icon-area {
    width: 52px;
    height: 52px;
    background: #f0fdf4; /* Light green background for icon */
    color: var(--tt-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tt-summary-icon-area .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
}

.tt-summary-body {
    display: flex;
    flex-direction: column;
}

.tt-summary-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.tt-summary-val {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .tt-summary-grid {
        grid-template-columns: 1fr;
    }
}