:root {
    --primary-color: #8A1C41; 
    --bg-screen: #FFF5F7;        
    --text-dark: #2C2C2C;
    --text-muted: #8E8E8E;
    --border-pink: #EAD5DC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Ocupa a tela do PC inteira sem nenhuma borda preta */
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-screen);
}

.app-screen {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* Painel centralizado oval nas pontas externas */
.panel-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-pink);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    gap: 40px;
}

/* ESTRUTURA COLUNA DA ESQUERDA */
.services-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.services-header {
    margin-bottom: 24px;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.active-crumb {
    color: var(--text-dark);
    font-weight: 600;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-row h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-back-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-back-arrow svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
}

/* LISTA COM ROLAGEM EXATAMENTE IGUAL AO DESIGN */
.services-scroll-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Customização sutil da barra de rolagem rosa */
.services-scroll-list::-webkit-scrollbar {
    width: 6px;
}
.services-scroll-list::-webkit-scrollbar-track {
    background: #FDF1F5;
    border-radius: 10px;
}
.services-scroll-list::-webkit-scrollbar-thumb {
    background: #E8B4C3;
    border-radius: 10px;
}

/* CARD DE CADA SERVIÇO */
.service-card {
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 20px 24px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(138, 28, 65, 0.03);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    padding-right: 50px;
}

.card-header-row h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.card-header-row h2 .duration {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 6px;
}

.price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    padding-right: 50px;
}

/* ÁREA DO BOTÃO FLUTUANTE DE AÇÃO NO CANTO DO CARD */
.select-action-area {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.toggle-status-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-status-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
}

/* Estado de Selecionado (Círculo preenchido com Check Branco) */
.toggle-status-btn.text-check {
    background-color: var(--primary-color);
}

.toggle-status-btn.text-check svg {
    fill: #ffffff;
}

/* COLUNA DA DIREITA: RESUMO DE PREÇOS */
.checkout-column {
    width: 340px;
    height: 100%;
}

.checkout-card {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-pink);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-family: 'Georgia', serif;
    color: var(--primary-color);
    margin-bottom: 24px;
    border-bottom: 1px solid #F2E4E8;
    padding-bottom: 12px;
}

.chosen-items-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-item-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.summary-item-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* FOOTER DO RESUMO COM VALOR TOTAL */
.checkout-footer {
    border-top: 1px solid #F2E4E8;
    padding-top: 20px;
    margin-top: auto;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* Botão continuar estilizado como Âncora funcional */
.btn-continue-anchor {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-continue-anchor:hover {
    opacity: 0.9;
}
