:root {
    --primary-color: #8A1C41; 
    --app-bg: #FFF5F7;        
    --text-dark: #2C2C2C;
    --text-muted: #7E7E7E;
    --border-color: #E5D5DA;
}

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

/* Ocupa 100% da tela real eliminando as faixas pretas externas */
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Preenchimento total do monitor */
.content-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--app-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* CARD BRANCO CENTRAL */
.services-card {
    width: 100%;
    max-width: 950px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(138, 28, 65, 0.04);
}

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

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

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

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

.services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-item {
    width: 100%;
    height: 60px;
    border: 1px solid var(--primary-color);
    border-radius: 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
}

.service-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.service-duration {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Limpa e redefine todos os estados do link-botão de uma vez */
.btn-schedule, 
.btn-schedule:link, 
.btn-schedule:visited {
    display: inline-flex !important;  
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #8A1C41 !important; /* Força a cor vinho padrão mesmo após clicado */
    border: 1px solid #8A1C41 !important;
    border-radius: 20px !important;
    padding: 8px 28px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important; /* Elimina o sublinhado roxo/azul definitivamente */
    cursor: pointer !important;
    transition: all 0.2s ease;
}

/* Efeito ao passar o mouse */
.btn-schedule:hover {
    background-color: #8A1C41 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Efeito ao clicar */
.btn-schedule:active {
    background-color: #6B1230 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}


/* ESTILO DO ÍCONE DE CHECK CIRCULAR (VINDOS DO CLIQUE) */
.icon-success-check {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-success-check svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* MODAL DE SAÍDA */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

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

.modal-card {
    background-color: #F4F4F4; 
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.modal-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none; border: none;
    font-size: 24px; color: #555555;
    cursor: pointer;
}

.modal-card h3 {
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-card p {
    font-size: 13px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 24px;
}

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

.btn-modal-voltar {
    background-color: #FCDCE5;
    color: var(--primary-color);
    border: 1px solid #F7C0CE;
    border-radius: 20px;
    padding: 10px 32px;
    font-size: 14px;
    cursor: pointer;
}

.btn-modal-sair {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 10px 32px;
    font-size: 14px;
    cursor: pointer;
}
