:root {
    --bg: #080808;
    --card: #141414;
    --card-2: #1a1a1a;
    --accent: #e8001a;
    --accent-hover: #ff1a30;
    --accent-glow: rgba(232, 0, 26, 0.3);
    --accent-subtle: rgba(232, 0, 26, 0.08);
    --text: #f0f0f0;
    --muted: #888;
    --border: rgba(255, 255, 255, 0.07);
    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;
    --shadow-red: 0 4px 20px rgba(232, 0, 26, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    position: relative;
    padding-bottom: 90px;
    background-color: var(--bg);
}

.hidden-view {
    display: none !important;
}

.active-view {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    animation: fadeIn 0.4s ease;
}

.hidden-tab {
    display: none;
}

.active-tab {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

/* ─── LOGIN ───────────────────────────────────────────── */
#view-login {
    justify-content: center;
    align-items: center;
    padding: 25px;
    background: radial-gradient(ellipse at center, #1a0005 0%, #080808 70%);
}

.login-box {
    background: linear-gradient(135deg, #141414, #1a0005);
    padding: 45px 25px;
    border-radius: 24px;
    text-align: center;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-red);
    border: 1px solid rgba(232, 0, 26, 0.2);
}

.login-logo {
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(232, 0, 26, 0.4));
    animation: pulse 2.5s infinite;
}

.login-logo-img {
    height: 100px;
    width: auto;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(232, 0, 26, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(232, 0, 26, 0.6));
    }
}

.login-box h2 {
    color: var(--accent);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.login-box p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-box input {
    width: 100%;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 16px;
    text-align: center;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.login-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 0, 26, 0.1);
}

/* ─── HEADER ──────────────────────────────────────────── */
header {
    position: relative;
    padding: 30px 20px 20px;
    text-align: left;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.header-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(232, 0, 26, 0.12) 0%, transparent 70%);
    z-index: 0;
}

.header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logo {
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(232, 0, 26, 0.4));
}

.header-logo-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(232, 0, 26, 0.4));
    flex-shrink: 0;
}

header h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

header p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

#status-badge {
    margin-left: auto;
    background: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid rgba(232, 0, 26, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-settings-gear {
    margin-left: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.btn-settings-gear:active {
    transform: rotate(45deg) scale(0.92);
    background: var(--accent-subtle);
    color: var(--accent);
    border-color: rgba(232, 0, 26, 0.4);
}

/* ─── SETTINGS SLIDE-IN PANEL ─────────────────────────────── */
.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.settings-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.settings-panel {
    background: linear-gradient(160deg, #1a1a1a, #0f0005);
    border: 1px solid rgba(232, 0, 26, 0.15);
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 40px;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.settings-overlay.open .settings-panel {
    transform: translateY(0);
}

.settings-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.settings-panel-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-panel-header h3 i {
    color: var(--accent);
}

.btn-close-settings {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ─── MAIN & SECTIONS ─────────────────────────────────── */
main {
    padding: 15px 20px;
}

.section-title {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 700;
}

/* ─── BOTTOM NAV ──────────────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 25px;
    border-top: 1px solid var(--border);
    z-index: 100;
}

.nav-item {
    text-align: center;
    color: var(--muted);
    cursor: pointer;
    transition: 0.3s;
    width: 33.3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
}

.nav-icon {
    display: block;
    font-size: 22px;
    margin-bottom: 3px;
    transition: 0.2s;
}

.active-nav {
    color: var(--accent);
    font-weight: 700;
}

.active-nav .nav-icon {
    transform: translateY(-3px) scale(1.15);
    filter: drop-shadow(0 0 6px rgba(232, 0, 26, 0.5));
}

/* ─── APPOINTMENT CARDS ───────────────────────────────── */
.appointment-card {
    background: var(--card);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--accent);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 12px;
    gap: 8px;
}

.app-date {
    font-weight: 600;
    color: var(--accent);
    font-size: 13px;
    flex: 1;
}

.app-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5;
    word-break: break-word;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.app-note i {
    flex-shrink: 0;
    margin-top: 1px;
}


.client-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
}

.client-info p {
    font-size: 13px;
    color: var(--muted);
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.btn-icon {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-call {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
}

.btn-cancel {
    background: #334155;
    color: #fff;
}

.btn-call:active {
    background: rgba(255, 255, 255, 0.12);
}

.btn-done {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.btn-done:active {
    background: rgba(34, 197, 94, 0.25);
}

/* ─── AGENDA ──────────────────────────────────────────── */
.day-title {
    color: var(--accent);
    font-weight: 700;
    margin: 25px 0 10px;
    font-size: 15px;
    border-bottom: 1px solid rgba(232, 0, 26, 0.2);
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fascia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 10px 0;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 5px;
}

.fascia-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-bulk-delete {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
}

/* Day group for agenda */
.day-group {
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.day-header-admin {
    background: var(--card);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: 0.2s;
}

.day-header-admin:active {
    background: rgba(232, 0, 26, 0.05);
}

.day-header-admin h3 {
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
}

.day-summary {
    font-size: 11px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.day-body-admin {
    display: none;
    background: rgba(8, 8, 8, 0.6);
    padding: 15px;
}

.day-body-admin.active {
    display: block;
}

.fascia-title-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent);
    margin: 15px 0 10px 0;
    letter-spacing: 1px;
    font-weight: 700;
}

.admin-slots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.admin-slot-card {
    background: var(--card);
    border-radius: 12px;
    padding: 13px;
    border-left: 4px solid #333;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--border);
    border-left: 4px solid #333;
}

.admin-slot-card.is-free {
    border-left-color: var(--success);
    background: rgba(34, 197, 94, 0.03);
}

.admin-slot-card.is-booked {
    border-left-color: var(--accent);
    background: rgba(232, 0, 26, 0.04);
}

.admin-slot-card.is-blocked {
    border-left-color: #64748b;
    background: rgba(255, 255, 255, 0.03);
}

.slot-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slot-time-admin {
    font-weight: 800;
    font-size: 17px;
}

.slot-badge-admin {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 700;
}

.badge-free {
    background: rgba(34, 197, 94, 0.12);
    color: var(--success);
}

.badge-booked {
    background: var(--accent-subtle);
    color: var(--accent);
}

.badge-blocked {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.client-data-box {
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px;
}

.client-name-admin {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.client-detail-admin {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}

.admin-slot-actions {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.btn-action-mini {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-action-mini:active {
    transform: scale(0.95);
}

/* ─── FORM TURNI ──────────────────────────────────────── */
.form-card {
    background: var(--card);
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.label-custom {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 20px 0 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.input-modern {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    outline: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

.input-modern:focus {
    border-color: var(--accent);
    background: rgba(232, 0, 26, 0.04);
    box-shadow: 0 0 0 3px rgba(232, 0, 26, 0.1);
}

.input-modern::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

/* Quick week buttons */
.quick-week-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.btn-quick-week {
    flex: 1;
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-quick-week:active,
.btn-quick-week:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    transform: scale(0.98);
}

.week-date-label {
    font-size: 13px;
    color: var(--success);
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.05);
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed rgba(34, 197, 94, 0.3);
}

/* Chips */
.toggle-container {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    flex: 1;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
}

.toggle-btn.active {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    border-color: var(--accent);
    box-shadow: var(--shadow-red);
}

.chips-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chips-row .chip {
    flex: 1;
    text-align: center;
}

.chips-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chip {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    color: var(--muted);
    font-family: 'Poppins', sans-serif;
}

.chip.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), #c0000f);
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 25px;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    box-shadow: var(--shadow-red);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: none;
}

/* ─── MODAL ───────────────────────────────────────────── */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

#modal-overlay.active-modal {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: linear-gradient(135deg, #1a1a1a, #0f0005);
    width: 90%;
    max-width: 350px;
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(232, 0, 26, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--shadow-red);
    transform: translateY(30px) scale(0.9);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#modal-overlay.active-modal .modal-box {
    transform: translateY(0) scale(1);
}

.modal-box h3 {
    color: var(--text);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-box p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-box input {
    margin-bottom: 25px;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-actions button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.2s;
}



.modal-actions button:active {
    transform: scale(0.96);
}

.btn-mini {
    padding: 9px 16px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
}

.btn-mini:active {
    transform: scale(0.95);
}

.btn-outline-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-outline-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

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

.btn-solid-primary {
    background: linear-gradient(135deg, var(--accent), #c0000f);
    color: white;
    box-shadow: var(--shadow-red);
}

.modal-hidden {
    display: none !important;
}

/* ─── CALENDAR ────────────────────────────────────────── */
.calendar-card {
    background: var(--card);
    border-radius: 16px;
    padding: 18px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.btn-cal-nav {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-cal-nav:active {
    background: rgba(255, 255, 255, 0.1);
}

.calendar-title-group {
    text-align: center;
}

.calendar-title-group h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    text-transform: capitalize;
}

.cal-expand-handle {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 15px;
    opacity: 0.6;
    transition: 0.2s;
}

.cal-expand-handle:active {
    opacity: 1;
}

.handle-bar {
    width: 45px;
    height: 5px;
    background: var(--muted);
    border-radius: 10px;
}

/* ─── IMPOSTAZIONI ─────────────────────────────────────────────── */
.settings-card {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 18px;
    gap: 16px;
}

.setting-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.setting-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.setting-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

/* Toggle switch stile iOS */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    border-radius: 30px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--accent);
}

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

/* ─── QUICK ACTIONS BAR ────────────────────────────────────────── */
.quick-actions-bar {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.btn-quick-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    padding: 12px 2px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
}

.btn-quick-action i {
    font-size: 22px;
    color: var(--text);
}

.btn-quick-action.is-active-block {
    background: rgba(100, 116, 139, 0.15);
    border-color: #64748b;
    color: #cbd5e1;
}

.btn-quick-action.is-active-block i {
    color: #cbd5e1;
}

.btn-quick-action:not(:disabled):not(.is-active-block):active {
    transform: scale(0.95);
    background: rgba(232, 0, 26, 0.1);
    border-color: rgba(232, 0, 26, 0.3);
    color: var(--accent);
}

.btn-quick-action:not(:disabled):active i {
    color: var(--accent);
}

.btn-quick-action:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    border-color: transparent;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    transition: all 0.3s ease;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    border: 1px solid transparent;
}

.cal-day.other-month {
    color: #444;
    pointer-events: none;
}

.cal-day:active {
    transform: scale(0.9);
}

.cal-day.selected {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-red);
}

.cal-day.today {
    border-color: var(--accent);
}

.cal-dots-container {
    display: flex;
    gap: 3px;
    position: absolute;
    bottom: 6px;
}

.cal-dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.cal-dot.dot-blocked {
    background: #64748b;
}

.cal-day.selected .cal-dot {
    background: #fff;
}

.cal-day.selected .cal-dot.dot-blocked {
    background: #cbd5e1;
}