/* HERO BANNER SLIDER */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 520px;
    max-height: 750px;
    background: var(--black-intense);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.04);
    display: flex;
    align-items: center;
}

.slide-fallback {
    background: linear-gradient(135deg, #280808 0%, var(--black-intense) 70%, #151515 100%) !important;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.5) 0%, rgba(11, 11, 11, 0.75) 60%, rgba(11, 11, 11, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
}

.badge-hero {
    display: inline-block;
    background: rgba(214, 28, 28, 0.2);
    border: 1px solid var(--red);
    color: var(--red);
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 0.5rem;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 15px var(--red-glow);
}

.slider-arrow.prev {
    left: 1rem;
}

.slider-arrow.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.6rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
}

/* SEÇÃO SOBRE */
.about-section {
    position: relative;
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about-image-container img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-container:hover img {
    transform: scale(1.03);
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-badge .number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--red);
}

.about-badge .label {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--gray-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.feature-item .icon {
    color: var(--red);
    font-size: 1.1rem;
}

/* BIG CTA BANNER SECTION */
.cta-section {
    padding: 3rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #181818 0%, #2b0808 50%, #121212 100%);
    border: 1px solid rgba(214, 28, 28, 0.3);
    border-radius: var(--radius);
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(214, 28, 28, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 1.75rem;
}

/* PÁGINA DE AGENDAMENTO CLIENTE */
.step {
    background: var(--black-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.step-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 800;
}

.grid-services-select {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.service-select-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gray-dark);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-select-card:hover {
    border-color: var(--red);
    background: #222;
}

.service-select-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--red);
    cursor: pointer;
}

.service-select-info {
    flex: 1;
}

.service-select-info strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
}

.service-select-info small {
    color: var(--gray-light);
    font-size: 0.85rem;
}

.service-select-price {
    font-weight: 800;
    color: var(--red);
    font-size: 1.1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--gray-dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-slot:hover {
    border-color: var(--red);
    color: var(--white);
}

.time-slot.selected {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 4px 12px var(--red-glow);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.payment-option-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--gray-dark);
    border: 1px solid var(--border);
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    font-weight: 500;
}

.payment-option-card:hover {
    border-color: var(--red);
}

.payment-option-card input[type="radio"] {
    accent-color: var(--red);
    width: 18px;
    height: 18px;
}

/* PÁGINA DE PAGAMENTO E RESUMO */
.checkout-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.checkout-summary-row:last-child {
    border-bottom: none;
    padding-top: 1.25rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
}

/* ADMIN DASHBOARD & TABLES */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--red);
    transform: translateY(-3px);
}

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

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

.grid-7col {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.card-center {
    text-align: center;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 0.5rem;
}

.card-highlight {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.card-highlight small {
    color: rgba(255, 255, 255, 0.8);
}

.admin-img-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.image-preview-container {
    margin-top: 0.75rem;
    width: 100%;
    height: 120px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black-intense);
    position: relative;
}

.image-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-placeholder {
    color: var(--gray-light);
    font-size: 0.85rem;
    text-align: center;
}

/* PÁGINAS INSTITUCIONAIS */
.page-institutional {
    padding: 3rem 0;
    min-height: 60vh;
}

.legal-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.legal-card h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-meta {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    display: block;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--red);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    margin: 0.5rem 0 1.25rem 1.5rem;
    list-style: disc;
}

.legal-content li {
    color: var(--gray-light);
    margin-bottom: 0.4rem;
}

/* ============================================================
   JÚDUCORTE — Dashboard administrativo e cartões de agendamento
   ============================================================ */
.admin-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-page-head h1 {
    margin: .25rem 0 .5rem
}

.admin-page-head p {
    max-width: 720px
}

.admin-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow)
}

.admin-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem
}

.admin-card-head h2 {
    margin: 0;
    font-size: 1.35rem
}

.admin-card-head p {
    margin-top: .35rem
}

.admin-stats {
    margin-bottom: 1.5rem
}

.admin-stats .stat-card {
    min-height: 145px
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.admin-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #101010
}

.admin-list-item div {
    display: flex;
    flex-direction: column;
    gap: .2rem
}

.admin-list-item strong {
    font-size: 1rem
}

.admin-list-item span,
.admin-list-item small {
    color: var(--gray-light)
}

.admin-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(160px, .8fr) minmax(160px, .8fr) auto;
    gap: .75rem;
    margin-bottom: 1.25rem
}

.admin-appointments {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.appointment-admin-card {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2)
}

.appointment-main {
    display: flex;
    gap: 1.25rem;
    min-width: 0;
    width: 100%;
}

.appointment-date {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    padding: .75rem .5rem;
    border-radius: 12px;
    background: #0c0c0c;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .25rem;
    box-sizing: border-box;
    overflow: hidden;
}

.appointment-date strong {
    font-size: .9rem;
    white-space: nowrap;
}

.appointment-date span {
    font-size: .85rem;
    color: var(--gray-light);
    white-space: nowrap;
}

.appointment-info {
    min-width: 0;
    flex: 1;
}

.appointment-date strong {
    font-size: 1rem
}

.appointment-date span {
    font-size: .85rem;
    color: var(--gray-light)
}


.appointment-info h3 {
    margin-bottom: .3rem
}

.appointment-info p {
    margin-bottom: .35rem;
    white-space: normal
}

.appointment-info small {
    overflow-wrap: anywhere
}

.appointment-side {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: .55rem;
    min-width: 180px
}

.appointment-side>strong {
    font-size: 1rem
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end
}

.empty-state {
    padding: 2.5rem;
    text-align: center;
    color: var(--gray-light);
    border: 1px dashed var(--border);
    border-radius: 12px
}

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

.client-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(214, 28, 28, .16);
    border: 1px solid rgba(214, 28, 28, .5);
    font-weight: 800;
    color: var(--red)
}

.client-card-main {
    min-width: 0
}

.client-card-main h3 {
    font-size: 1.05rem;
    margin-bottom: .2rem
}

.client-card-main p,
.client-card-main span {
    display: block;
    overflow-wrap: anywhere
}

.client-card-stats {
    display: flex;
    flex-direction: column;
    text-align: center
}

.client-card-stats strong {
    font-size: 1.3rem
}

.client-card-stats small {
    color: var(--gray-light)
}

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

.detail-grid>div {
    padding: 1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.detail-grid small {
    color: var(--gray-light)
}

.detail-title {
    margin: 1.5rem 0 .75rem
}

.detail-history {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.detail-history>div {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: .8rem;
    border-bottom: 1px solid var(--border)
}

.detail-history em {
    font-style: normal;
    color: var(--gray-light)
}

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

.period-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

.period-card h3 {
    margin-top: .6rem
}

.period-card p {
    margin-top: .25rem
}

.period-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.period-meta span {
    padding: .45rem .65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gray-light);
    font-size: .82rem
}

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

.duration-list {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.duration-row {
    display: grid;
    grid-template-columns: 1fr 120px 30px;
    align-items: center;
    gap: .75rem;
    padding: .7rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 10px
}

.form-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1rem 0
}

.form-check input {
    accent-color: var(--red)
}

.form-note {
    padding: 1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 12px
}

.admin-form-modal {
    max-width: 720px
}

.admin-detail-modal {
    max-width: 760px
}

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

.service-admin-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

.service-admin-icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #181818;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--red);
    overflow: hidden
}

.service-admin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.service-admin-main h3 {
    margin: .45rem 0 .35rem
}

.service-admin-main p {
    margin-bottom: .65rem
}

.service-admin-meta {
    display: flex;
    gap: 1rem;
    align-items: center
}

.service-admin-meta span {
    color: var(--gray-light)
}

.service-admin-card>.admin-actions {
    grid-column: 1/-1;
    justify-content: flex-start
}

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

.banner-admin-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.banner-preview {
    min-height: 180px;
    background-color: #181818;
    background-size: cover;
    background-position: center
}

.banner-admin-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.banner-admin-content h3 {
    margin-top: .15rem
}

.banner-admin-content .admin-actions {
    justify-content: flex-start;
    margin-top: auto
}

.admin-menu-button {
    display: none
}

.modal-close {
    color: var(--gray-light);
    font-size: 1.7rem;
    line-height: 1;
    padding: .2rem
}

.modal-close:hover {
    color: var(--white)
}

.booking-dashboard {
    max-width: 980px
}

.booking-dashboard .card {
    margin-bottom: 1.25rem
}

.booking-dashboard #selectedSummary,
.booking-dashboard #timeSlots {
    line-height: 1.8
}

.booking-dashboard .time-slot {
    min-width: 78px;
    min-height: 46px;
    margin: .25rem
}

.booking-dashboard .summary-box {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #101010
}

@media(max-width:767px) {
    .booking-dashboard {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem
    }

    .booking-dashboard .section-title {
        font-size: 1.7rem
    }

    .booking-dashboard .form-group {
        margin-bottom: 1.1rem
    }

    .booking-dashboard #selectedSummary {
        font-size: .9rem;
        line-height: 1.75
    }

    .booking-dashboard .time-slot {
        min-width: 74px;
        margin: .2rem
    }

    .booking-dashboard .card {
        padding: 1rem
    }

    .booking-dashboard .section-header {
        margin-bottom: 1.25rem
    }
}

@media (max-width: 767px) {
    .appointment-main {
        gap: .75rem;
    }

    .appointment-date {
        flex: 0 0 112px;
        width: 112px;
        min-width: 112px;
        padding: .7rem .35rem;
    }

    .appointment-date strong {
        font-size: .82rem;
    }

    .appointment-date span {
        font-size: .82rem;
    }

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

    .appointment-info h3 {
        overflow-wrap: anywhere;
    }
}

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

.hour-card {
    padding: 1.1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end
}

.hour-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem
}

.hour-fields label {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    color: var(--gray-light);
    font-size: .8rem
}

@media(max-width:767px) {
    .hours-grid {
        grid-template-columns: 1fr
    }

    .hour-card {
        flex-direction: column;
        align-items: stretch
    }

    .hour-fields {
        grid-template-columns: 1fr 1fr
    }
}

.break-list {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.break-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 12px
}

.break-card div {
    display: flex;
    flex-direction: column;
    gap: .2rem
}

.break-card span,
.break-card small {
    color: var(--gray-light)
}

@media(max-width:767px) {
    .booking-dashboard #timeSlots {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .35rem
    }

    .booking-dashboard .time-slot {
        width: 100%;
        margin: 0
    }

    .booking-dashboard .time-slot.unavailable {
        opacity: .45
    }
}

.client-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem
}

.client-stat-card {
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--black-card);
    display: flex;
    flex-direction: column;
    gap: .2rem
}

.client-stat-card strong {
    font-size: 1.6rem
}

.client-stat-card span {
    color: var(--gray-light);
    font-size: .85rem
}

@media(max-width:767px) {
    .client-stat-grid {
        gap: .6rem
    }

    .client-stat-card {
        padding: .85rem
    }

    .client-stat-card strong {
        font-size: 1.35rem
    }
}

/* Agendamento: seleção clara e confortável, principalmente no celular. */
.booking-summary-details,
.booking-summary-services {
    display: block;
    margin-top: .3rem
}

.booking-summary-services {
    overflow-wrap: anywhere;
    color: var(--gray-light)
}

.service-select-card {
    position: relative;
    min-height: 76px;
    padding: 1rem 1.1rem;
    transition: border-color .2s ease, background .2s ease, transform .2s ease
}

.service-select-card.selected {
    border-color: var(--red);
    background: rgba(214, 28, 28, .09);
    box-shadow: 0 0 0 1px rgba(214, 28, 28, .18)
}

.service-select-card input[type="checkbox"] {
    flex: 0 0 auto;
    accent-color: var(--red)
}

.service-select-check {
    display: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    font-size: .75rem;
    font-weight: 800
}

.service-select-card.selected .service-select-check {
    display: inline-flex
}

.service-select-info {
    min-width: 0
}

.service-select-info strong,
.service-select-info small {
    overflow-wrap: anywhere
}

.service-select-price {
    white-space: nowrap
}

.booking-empty,
.booking-loading {
    padding: 1rem 0;
    line-height: 1.7
}

.payment-option-disabled {
    opacity: .5;
    cursor: not-allowed
}

.payment-option-disabled input {
    cursor: not-allowed
}

.upload-preview {
    margin-top: .65rem;
    min-height: 80px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: #0d0d0d;
    display: grid;
    place-items: center;
    overflow: hidden
}

.upload-preview:empty {
    display: none
}

.upload-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover
}

.single-media-manager {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 1rem;
    align-items: center
}

.single-media-preview {
    min-height: 220px;
    border: 1px dashed var(--border);
    border-radius: 14px;
    background: #0d0d0d;
    display: grid;
    place-items: center;
    color: var(--gray-light);
    overflow: hidden
}

.single-media-preview img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover
}

.media-manager-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem
}

.gallery-admin-card {
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden
}

.gallery-admin-image {
    height: 180px;
    background-size: cover;
    background-position: center
}

.gallery-admin-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .45rem
}

.gallery-admin-content .admin-actions {
    justify-content: flex-start
}

.duration-row-price {
    grid-template-columns: 1.4fr 100px 120px 30px
}

.grid-services-select.is-locked {
    opacity: .55;
    pointer-events: none
}

.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(214, 28, 28, .12), transparent 34%), var(--black-intense);
    display: grid;
    place-items: center;
    padding: 1.25rem
}

.auth-shell {
    width: min(100%, 460px);
    margin: auto
}

.auth-card {
    background: rgba(20, 20, 20, .96);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.65rem 1.75rem;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .55)
}

.auth-card-register {
    width: min(100%, 560px)
}

.auth-logo {
    display: grid;
    place-items: center;
    margin-bottom: 1rem
}

.auth-logo img {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    object-fit: cover
}

.auth-heading {
    text-align: center;
    margin-bottom: 1.2rem
}

.auth-heading h1 {
    font-size: 2rem;
    margin: .1rem 0 .35rem
}

.auth-heading p {
    font-size: .9rem
}

.auth-form .form-group {
    margin-bottom: .85rem
}

.auth-form .form-control {
    min-height: 48px
}

.auth-submit {
    min-height: 50px
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    font-size: .9rem
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem
}

/* Política de agendamento e registro de presença */
.booking-policy-warning {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(214, 28, 28, .45);
    border-radius: 12px;
    background: rgba(214, 28, 28, .08);
    color: var(--gray-light);
    line-height: 1.6;
}
.booking-policy-warning strong { color: var(--white); }
.attendance-form {
    display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; width: 100%;
}
.attendance-form > span { width: 100%; color: var(--gray-light); font-size: .8rem; }
