* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    background: #fdf2f8;
    color: #1f2937;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.top-bar {
    background: linear-gradient(90deg, #fb7185, #f472b6);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.quote-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quote {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.quote-deco {
    font-size: 1.1rem;
    opacity: 0.9;
}

.landing {
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 36px;
    position: relative;
    overflow: hidden;
    padding: 24px 0 60px;
}

.landing-grid {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(251, 113, 133, 0.2);
}

.blob {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.blob-left {
    left: 4%;
    top: 10%;
    background: #fbcfe8;
}

.blob-right {
    right: 8%;
    bottom: 10%;
    background: #fde68a;
}

.hero {
    text-align: left;
    padding: 40px 0;
    max-width: 520px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 0 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fb7185, #c084fc);
    display: grid;
    place-items: center;
    color: white;
    font-size: 40px;
    box-shadow: 0 20px 40px rgba(251, 113, 133, 0.3);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: #be185d;
}

.hero-subtitle {
    letter-spacing: 0.4em;
    margin-top: 8px;
    color: #9ca3af;
    font-size: 1rem;
}

.hero-slogan {
    margin-top: 16px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #be185d;
}

.hero-photo {
    display: grid;
    place-items: center;
    justify-items: center;
    align-self: stretch;
}

.hero-photo img {
    width: min(360px, 84vw);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    border: 6px solid #fff;
    object-fit: cover;
}

@media (max-width: 900px) {
    .landing-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }
    .hero {
        text-align: center;
        padding: 16px 0 0;
    }
    .hero-actions {
        justify-items: stretch;
    }
    .hero-photo {
        order: -1;
        justify-items: center;
    }
    .comments-section {
        margin-top: 20px;
    }
}

.hero-actions {
    margin-top: 40px;
    display: grid;
    gap: 12px;
    justify-items: start;
}

.btn {
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, #fb7185, #ec4899);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #f9a8d4;
    color: #db2777;
}

.btn-ghost:hover {
    background: #fdf2f8;
}

.full {
    width: 100%;
}

.back-link {
    display: inline-block;
    margin: 30px 0 10px;
    color: #9ca3af;
}

.section-title {
    font-size: 1.8rem;
    color: #be185d;
    margin-bottom: 20px;
}

.wizard {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.wizard-steps {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.step {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-weight: 700;
}

.step.active {
    background: #f472b6;
    color: white;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: #fff;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.card:hover {
    border-color: #f472b6;
    background: #fdf2f8;
}

.card.selected {
    border-color: #ec4899;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-row input,
.form-row select,
.form-row textarea {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
    width: 100%;
}

.time-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    max-height: 240px;
    overflow: auto;
    padding-right: 6px;
}

.time-slot {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #fbcfe8;
    background: #fdf2f8;
    font-weight: 700;
    color: #be185d;
    cursor: pointer;
}

.time-slot.disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.selected {
    background: #ec4899;
    color: #fff;
    border-color: #ec4899;
}

.manual-time {
    margin-top: 8px;
}

.summary-box {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 24px;
    width: min(520px, 92%);
}

.modal-content h3 {
    margin-bottom: 12px;
    color: #be185d;
}

.modal-content label {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #6b7280;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.modal-content textarea {
    min-height: 70px;
}

.alert {
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
}

.login-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    width: min(460px, 92%);
    margin: 20px auto 60px;
}

.login-card h2 {
    margin-bottom: 20px;
    color: #be185d;
}

.login {
    min-height: calc(100vh - 40px);
    display: grid;
    place-items: center;
}

.login-card {
    background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
    border: 1px solid #f9a8d4;
}

.login-card input {
    border: 1px solid #f3f4f6;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
}

.login-card label {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    color: #6b7280;
}

.form-stack {
    display: grid;
    gap: 16px;
}

.admin {
    min-height: 100vh;
    background: #f9fafb;
}

.admin-header {
    background: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f3f4f6;
}

.admin-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 5%;
    background: #f3f4f6;
}

.tab {
    padding: 10px 16px;
    border-radius: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    color: #6b7280;
}

.tab.active {
    background: white;
    color: #be185d;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.admin-tabs {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid #f3f4f6;
    backdrop-filter: blur(8px);
}

.admin-tabs::-webkit-scrollbar {
    height: 6px;
}

.admin-tabs::-webkit-scrollbar-thumb {
    background: #fbcfe8;
    border-radius: 999px;
}

.tab {
    background: #fff;
    border: 1px solid #f5d0fe;
}

.tab.active {
    background: linear-gradient(90deg, #f472b6, #ec4899);
    color: #fff;
}

.tab-panel {
    display: none;
    padding: 20px 5%;
}

.tab-panel.active {
    display: block;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.panel-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.split-view {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
}

.list {
    background: white;
    border-radius: 16px;
    padding: 12px;
    max-height: 650px;
    overflow: auto;
}

.customer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #f3f4f6;
    background: linear-gradient(135deg, #fff 0%, #fff8fb 100%);
}

.customer-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.customer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f9a8d4, #f472b6);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.customer-meta {
    display: grid;
    gap: 4px;
}

.customer-meta span {
    font-size: 0.8rem;
    color: #6b7280;
}

.customer-last {
    font-size: 0.7rem;
    color: #9ca3af;
}

.customer-tags {
    margin-left: auto;
    display: grid;
    gap: 6px;
    justify-items: end;
}

.customer-tag {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.customer-flag {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.premium-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 16px;
}

.customer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.customer-info span {
    font-size: 0.75rem;
    color: #6b7280;
}

.customer-info strong {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
}

.details {
    background: white;
    border-radius: 16px;
    padding: 20px;
    min-height: 400px;
}

.card-grid .card {
    min-height: 120px;
}

.calendar-grid {
    background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
    border-radius: 20px;
    padding: 12px;
    overflow: auto;
    border: 1px solid #f3f4f6;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    max-height: 640px;
    width: min(1200px, 100%);
    margin: 0 auto;
    scrollbar-gutter: stable both-edges;
    backdrop-filter: blur(6px);
    position: relative;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.calendar-board {
    display: grid;
    grid-template-columns: 72px repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 40px;
    min-width: 600px;
}

.calendar-time {
    font-size: 0.8rem;
    color: #9ca3af;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 4;
    box-shadow: 4px 0 10px rgba(15, 23, 42, 0.06);
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    white-space: nowrap;
    grid-column: 1 / 2;
}

.calendar-cell {
    border-bottom: 1px solid #f3f4f6;
    border-right: 1px solid #f3f4f6;
    min-height: 40px;
    position: relative;
    background: #fff;
}

.calendar-cell.drop-target {
    background: #fdf2f8;
    outline: 2px dashed #f472b6;
}

.calendar-staff {
    background: #fdf2f8;
    padding: 10px;
    font-weight: 700;
    border-right: 1px solid #f3f4f6;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 3;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.appointment-card {
    position: relative;
    margin: 4px;
    background: var(--appt-bg, linear-gradient(135deg, #ffd1ea 0%, #fde2f3 100%));
    border-radius: 12px;
    padding: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    box-shadow: 0 10px 24px rgba(251, 113, 133, 0.2);
    border: 1px solid rgba(251, 113, 133, 0.35);
}

.appointment-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.appointment-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(251, 113, 133, 0.25);
}

.appointment-card.overdue {
    background: #ffffff;
    border: 2px solid #ef4444;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.22);
}

.appt-alert {
    margin-top: 4px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.appt-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.appt-row strong {
    font-size: 0.8rem;
}

.appt-icon {
    width: 18px;
    display: inline-flex;
    justify-content: center;
}

.appointment-card.dragging {
    opacity: 0.5;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge.pending {
    background: #fde68a;
    color: #92400e;
}

.badge.approval {
    background: #fed7aa;
    color: #9a3412;
}

.badge.completed {
    background: #bbf7d0;
    color: #166534;
}

.badge.cancelled {
    background: #e5e7eb;
    color: #6b7280;
}

.time-line {
    position: absolute;
    left: 80px;
    right: 0;
    height: 2px;
    background: #ef4444;
    z-index: 5;
}

.time-line::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -4px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
}

/* Premium overrides */
:root {
    --primary: #ec4899;
    --primary-dark: #be185d;
    --card: #ffffff;
    --muted: #6b7280;
    --bg: #f8fafc;
}

body {
    background: linear-gradient(180deg, #fff1f2 0%, #f8fafc 60%);
}

.admin-header {
    border-bottom: 1px solid #f3e8ff;
}

.admin-tabs {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tab {
    white-space: nowrap;
}

.panel-header {
    flex-wrap: wrap;
}

.panel-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.calendar-grid {
    background: var(--card);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.calendar-staff {
    background: linear-gradient(90deg, #ffe4f1, #fff5f8);
}

.calendar-cell {
    background: #fff;
}

.modal-content {
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
}

.settings,
.report-table,
.list,
.details {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.btn-primary {
    background: linear-gradient(90deg, #f472b6, #ec4899);
}

.btn-ghost {
    background: #fff;
    border: 1px solid #f9a8d4;
}

@media (max-width: 960px) {
    .split-view {
        grid-template-columns: 1fr;
    }
    .calendar-board {
        min-width: 720px;
    }
}

@media (max-width: 640px) {
    .panel-header {
        flex-direction: column;
        align-items: stretch;
    }
    .panel-left,
    .panel-right {
        justify-content: space-between;
        width: 100%;
    }
    .calendar-board {
        min-width: 620px;
    }
}

.settings {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: grid;
    gap: 16px;
    max-width: 560px;
}

.settings label {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    color: #6b7280;
}

.settings input,
.settings textarea,
.settings select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.customer-profile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.customer-actions {
    display: flex;
    gap: 8px;
}

.note-box {
    margin-top: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 8px 12px;
    border-radius: 10px;
    color: #9a3412;
    font-size: 0.85rem;
}

.customer-section {
    margin-top: 16px;
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.history-table th,
.history-table td {
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
}

.package-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
}

.package-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 8px;
}

.package-date {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 8px;
}

.session-dot {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 8px 0;
    text-align: center;
    font-weight: 700;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.session-dot.completed {
    background: #bbf7d0;
    color: #166534;
}

.session-dot.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.session-dot.no_show {
    background: #fef3c7;
    color: #92400e;
}

.session-dot.pending {
    background: #e5e7eb;
    color: #6b7280;
}

.session-reason {
    display: block;
    margin-top: 6px;
    font-size: 0.65rem;
    color: #991b1b;
}

.session-actions {
    position: static;
    display: grid;
    gap: 4px;
    margin-top: 6px;
    background: transparent;
    border-radius: 12px;
    padding: 0;
}

.session-dot:hover .session-actions {
    display: grid;
}

.session-actions button {
    border: none;
    border-radius: 8px;
    padding: 3px 6px;
    font-size: 0.65rem;
    cursor: pointer;
}

.session-actions button[data-session-action="delete"] {
    background: #fee2e2;
    color: #991b1b;
}

.appt-actions {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: flex;
    gap: 6px;
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
}

.appt-btn {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #be185d;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.appt-btn:hover {
    background: #fff;
}

.appointment-card:hover .appt-actions {
    opacity: 1;
    pointer-events: auto;
}

.blocked-slot {
    background: repeating-linear-gradient(
        45deg,
        rgba(15, 23, 42, 0.9),
        rgba(15, 23, 42, 0.9) 10px,
        rgba(15, 23, 42, 0.7) 10px,
        rgba(15, 23, 42, 0.7) 20px
    );
    color: transparent;
    border-radius: 8px;
    margin: 4px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

.blocked-slot::before {
    content: "🔒";
    color: #fff;
    font-size: 1rem;
}

.appointment-card {
    background: linear-gradient(135deg, #fbd0ea 0%, #fce7f3 100%);
    border: 1px solid rgba(251, 113, 133, 0.35);
}

.badge {
    align-self: flex-start;
}

.quick-search {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.customer-suggest {
    display: grid;
    gap: 6px;
    max-height: 220px;
    overflow: auto;
}

.quick-search {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.customer-suggest {
    display: grid;
    gap: 6px;
    max-height: 180px;
    overflow: auto;
}

.suggest-item {
    border: 1px solid #f3f4f6;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    display: grid;
    gap: 4px;
    text-align: left;
    cursor: pointer;
}

.suggest-item span {
    font-size: 0.75rem;
    color: #6b7280;
}

.suggest-empty {
    font-size: 0.8rem;
    color: #9ca3af;
    padding: 6px 2px;
}

.hidden {
    display: none;
}

.block-list {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    font-size: 0.85rem;
}

.block-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
    .calendar-grid {
        max-height: 58vh;
    }
    .calendar-board {
        min-width: 520px;
    }
}

@media (max-width: 600px) {
    .calendar-board {
        grid-template-columns: 64px repeat(auto-fit, minmax(160px, 1fr));
        min-width: 460px;
    }
    .calendar-time {
        width: 64px;
        min-width: 64px;
        max-width: 64px;
        font-size: 0.75rem;
    }
    .calendar-staff {
        font-size: 0.85rem;
        padding: 8px 6px;
    }
}

.blocked-slot {
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 8px;
    margin: 4px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.duration-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 8px;
    align-items: center;
}

.duration-row input {
    text-align: center;
}

.date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #f3f4f6;
    padding: 6px 10px;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.date-nav input {
    border: none;
    font-weight: 700;
    color: #be185d;
}

.dashboard-panels {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.panel-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.panel-card h3 {
    margin-bottom: 12px;
    color: #be185d;
}

.panel-list {
    display: grid;
    gap: 10px;
}

.birthday-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff7fb;
    border: 1px solid #fbcfe8;
    padding: 10px 12px;
    border-radius: 12px;
}

.birthday-card span {
    font-size: 0.8rem;
    color: #6b7280;
}

.birthday-badge {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.birthday-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #6b7280;
}

.comment-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 8px;
}

.comment-head {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    font-size: 0.8rem;
}

.comment-rating {
    display: flex;
    gap: 4px;
    font-size: 0.9rem;
}

.star {
    color: #e5e7eb;
}

.star.filled {
    color: #f59e0b;
}

.comment-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.comments-section {
    margin: 60px auto;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    width: min(1100px, 92%);
}

.comment-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 18px;
    align-items: start;
}

.comments-section h2 {
    color: #be185d;
    margin-bottom: 8px;
}

.comment-form {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.comment-form input,
.comment-form textarea {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.comment-rating-input {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    color: #6b7280;
}

.comment-rating-input select {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.comment-list {
    display: grid;
    gap: 12px;
}

@media (max-width: 900px) {
    .comment-grid {
        grid-template-columns: 1fr;
    }
}

.public-comment {
    background: #fff7fb;
    border: 1px solid #fbcfe8;
    border-radius: 14px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.public-comment span {
    font-size: 0.75rem;
    color: #6b7280;
}

.color-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.color-chip {
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
    display: grid;
    place-items: center;
    font-size: 0.65rem;
    color: #6b7280;
}

.service-card,
.staff-card {
    display: grid;
    gap: 8px;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-chip {
    align-self: flex-start;
    background: #ffe4f1;
    color: #be185d;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 999px;
}

.staff-top {
    display: flex;
    gap: 10px;
    align-items: center;
}

.staff-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}

.staff-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #6b21a8;
    background: #fbcfe8;
    border: 2px solid #fff;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}

.staff-color {
    width: 100%;
    height: 6px;
    border-radius: 999px;
}

.reports {
    display: grid;
    gap: 16px;
}

.report-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.report-card {
    background: white;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #f3f4f6;
}

.report-card h4 {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 6px;
}

.report-card span {
    font-size: 1.6rem;
    font-weight: 800;
    color: #be185d;
}

.report-table {
    background: white;
    border-radius: 14px;
    border: 1px solid #f3f4f6;
    padding: 16px;
}

.bar-list {
    display: grid;
    gap: 10px;
}

.bar-row {
    display: grid;
    grid-template-columns: 1fr 3fr auto;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
}

.bar {
    height: 10px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
}

.bar > div {
    height: 100%;
    background: linear-gradient(90deg, #f472b6, #ec4899);
    border-radius: 999px;
}

@media (max-width: 640px) {
    .bar-row {
        grid-template-columns: 1fr;
    }
}

.report-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.report-table th,
.report-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.report-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.report-actions input,
.report-actions select {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
}

.report-actions input[type="date"] {
    min-width: 140px;
}

.file-upload input {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.celebrate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    z-index: 9999;
    overflow: hidden;
}

.celebrate-card {
    width: min(420px, 90%);
    background: #fff;
    border-radius: 22px;
    padding: 28px 26px;
    text-align: center;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.celebrate-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #f472b6, #fb7185);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(244, 114, 182, 0.35);
}

.celebrate-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #be185d;
}

.celebrate-card p {
    color: #475569;
    margin-bottom: 18px;
    line-height: 1.5;
}

.celebrate-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -12px;
    left: var(--x);
    width: 10px;
    height: 18px;
    background: hsl(var(--hue) 85% 60%);
    opacity: 0.9;
    border-radius: 3px;
    animation: confetti-fall 1.6s ease-in forwards;
    animation-delay: var(--delay);
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(320deg);
    }
}
