:root {
    --cor-principal: #d9aaa4;
    --cor-principal-escura: #a75f58;
    --cor-rosa-claro: #f4e4e1;
    --cor-fundo: #f9f6f4;
    --cor-texto: #151515;
    --cor-texto-suave: #6f6f6f;
    --cor-branco: #ffffff;
    --sombra-card: 0 24px 70px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--cor-texto);
    background:
        radial-gradient(circle at top, rgba(217, 170, 164, 0.18), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, var(--cor-fundo) 100%);
    min-height: 100vh;
}

.agendamento-page {
    min-height: 100vh;
}

.agendamento-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.agendamento-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(217, 170, 164, 0.28);
    border-radius: 30px;
    padding: 50px 42px;
    box-shadow: var(--sombra-card);
    backdrop-filter: blur(12px);
}

.agendamento-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

.agendamento-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--cor-texto);
}

.agendamento-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cor-texto-suave);
    max-width: 460px;
    margin: 0 auto;
}

.agendamento-form {
    margin-top: 30px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--cor-texto);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(217, 170, 164, 0.45);
    background-color: #fff;
    font-size: 14px;
    color: var(--cor-texto);
    padding: 13px 16px;
    box-shadow: none;
    transition: all 0.2s ease;
}

textarea.form-control {
    min-height: 110px;
    resize: none;
}

.form-control::placeholder {
    color: #b4a7a4;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 4px rgba(217, 170, 164, 0.22);
}

.btn-agendamento {
    min-height: 54px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #d9aaa4, #a75f58);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.btn-agendamento:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(167, 95, 88, 0.28);
}

.btn-agendamento:disabled {
    background: #d8d8d8;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.agendamento-footer-text {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--cor-texto-suave);
}

.alert {
    border-radius: 14px;
    font-size: 14px;
    border: none;
}

.alert-warning {
    background-color: #fff3cd;
    color: #7a5b00;
}

.alert-info {
    background-color: #f4e8e6;
    color: #7b4f4a;
}

/* =========================
   PÁGINA DE SUCESSO
========================= */

.sucesso-icone {
    width: 82px;
    height: 82px;
    margin: 8px auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d9aaa4, #a75f58);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 600;
    box-shadow: 0 18px 36px rgba(167, 95, 88, 0.24);
}

.sucesso-titulo {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
    color: var(--cor-texto);
}

.sucesso-texto {
    max-width: 500px;
    margin: 0 auto 22px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--cor-texto-suave);
}

.alert-confirmacao {
    max-width: 440px;
    margin: 0 auto 28px;
    background: #fbefed;
    color: #8a5650;
    border: 1px solid rgba(217, 170, 164, 0.35);
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
}

.sucesso-box {
    max-width: 500px;
    margin: 0 auto;
    background: #fbf8f7;
    border: 1px solid rgba(217, 170, 164, 0.28);
    border-radius: 22px;
    padding: 26px;
    text-align: left;
}

.sucesso-box h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    text-align: center;
    color: var(--cor-texto);
}

.sucesso-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sucesso-box li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--cor-texto-suave);
}

.sucesso-box li:last-child {
    margin-bottom: 0;
}

.sucesso-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(217, 170, 164, 0.22);
    color: var(--cor-principal-escura);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 768px) {
    .agendamento-wrapper {
        padding: 28px 0;
        align-items: flex-start;
    }

    .agendamento-card {
        padding: 34px 22px;
        border-radius: 24px;
    }

    .agendamento-logo {
        max-width: 220px;
        margin-bottom: 22px;
    }

    .agendamento-title,
    .sucesso-titulo {
        font-size: 26px;
    }

    .agendamento-subtitle,
    .sucesso-texto {
        font-size: 14px;
    }

    .sucesso-icone {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }

    .sucesso-box {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .agendamento-card {
        padding: 28px 18px;
    }

    .agendamento-logo {
        max-width: 190px;
    }

    .agendamento-title,
    .sucesso-titulo {
        font-size: 24px;
    }

    .form-control,
    .form-select {
        min-height: 50px;
        font-size: 13px;
    }

    .btn-agendamento {
        min-height: 52px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    body {
        background: #ffffff;
    }

    .agendamento-wrapper {
        padding: 0;
    }

    .agendamento-card {
        min-height: 100vh;
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: 28px 18px 36px;
    }

    .agendamento-logo {
        max-width: 180px;
        margin-bottom: 18px;
    }

    .agendamento-title {
        font-size: 23px;
        line-height: 1.25;
    }

    .agendamento-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .agendamento-form {
        margin-top: 24px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-control,
    .form-select {
        min-height: 54px;
        border-radius: 13px;
        font-size: 15px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .btn-agendamento {
        min-height: 56px;
        border-radius: 14px;
        font-size: 15px;
    }

    .agendamento-footer-text {
        font-size: 12px;
        line-height: 1.5;
    }
}

.campo-obrigatorio {
    color: #a75f58;
    font-weight: 600;
}

.campo-opcional {
    color: #9b8d8a;
    font-size: 12px;
    font-weight: 400;
}
.form-control:invalid:not(:placeholder-shown),
.form-select:invalid:not(:placeholder-shown) {
    border-color: #d98b84;
}

.form-control:valid:not(:placeholder-shown),
.form-select:valid:not(:placeholder-shown) {
    border-color: rgba(217, 170, 164, 0.45);
}

/*
|--------------------------------------------------------------------------
| STATUS DOS AGENDAMENTOS
|--------------------------------------------------------------------------
*/

.status{

display:inline-flex;

align-items:center;

justify-content:center;

padding:6px 12px;

border-radius:30px;

font-size:12px;

font-weight:600;

letter-spacing:.3px;

white-space:nowrap;

}


/*
|--------------------------------------------------------------------------
| PENDENTE
|--------------------------------------------------------------------------
*/

.status-pendente{

background:#fff4d8;

color:#9c6b00;

}


/*
|--------------------------------------------------------------------------
| CONFIRMADO
|--------------------------------------------------------------------------
*/

.status-confirmado{

background:#e8f8ee;

color:#1e7a42;

}


/*
|--------------------------------------------------------------------------
| FINALIZADO
|--------------------------------------------------------------------------
*/

.status-finalizado{

background:#e8f4ff;

color:#195ea8;

}


/*
|--------------------------------------------------------------------------
| CANCELADO
|--------------------------------------------------------------------------
*/

.status-cancelado{

background:#ffe8e8;

color:#b43a3a;

}


/*
|--------------------------------------------------------------------------
| NÃO COMPARECEU
|--------------------------------------------------------------------------
*/

.status-nao_compareceu{

background:#f4edf8;

color:#6a4787;

}


/*
|--------------------------------------------------------------------------
| REAGENDADO
|--------------------------------------------------------------------------
*/

.status-reagendado{

background:#edf4ff;

color:#3558a6;

}


/*
|--------------------------------------------------------------------------
| BOTÕES AÇÕES
|--------------------------------------------------------------------------
*/

.action-buttons{

display:flex;

flex-wrap:wrap;

justify-content:flex-end;

gap:8px;

}


/*
|--------------------------------------------------------------------------
| BOTÃO CONFIRMAR
|--------------------------------------------------------------------------
*/

.btn-confirmar{

background:#2e8f57;

border:none;

color:#fff;

}


.btn-confirmar:hover{

background:#247346;

color:#fff;

}


/*
|--------------------------------------------------------------------------
| BOTÃO FINALIZAR
|--------------------------------------------------------------------------
*/

.btn-finalizar{

background:#2b70c9;

border:none;

color:#fff;

}


.btn-finalizar:hover{

background:#1f5cab;

color:#fff;

}


/*
|--------------------------------------------------------------------------
| BOTÃO CANCELAR
|--------------------------------------------------------------------------
*/

.btn-cancelar{

background:#cf4f4f;

border:none;

color:#fff;

}


.btn-cancelar:hover{

background:#b33d3d;

color:#fff;

}


/*
|--------------------------------------------------------------------------
| BOTÃO REAGENDAR / AUSÊNCIA
|--------------------------------------------------------------------------
*/

.btn-ausencia{

background:#7856b7;

border:none;

color:#fff;

}


.btn-ausencia:hover{

background:#6542a4;

color:#fff;

}


/*
|--------------------------------------------------------------------------
| CARDS DASHBOARD
|--------------------------------------------------------------------------
*/

.dashboard-card{

background:#fff;

border-radius:18px;

padding:24px;

box-shadow:

0 8px 20px rgba(
0,
0,
0,
0.05
);

display:flex;

flex-direction:column;

gap:8px;

}


.dashboard-card span{

font-size:14px;

color:#777;

}


.dashboard-card strong{

font-size:32px;

font-weight:700;

color:#222;

}


/*
|--------------------------------------------------------------------------
| OBSERVAÇÕES
|--------------------------------------------------------------------------
*/

.linha-observacao{

background:#faf8f8;

font-size:14px;

color:#555;

}


.linha-observacao td{

padding:14px 20px !important;

}


/*
|--------------------------------------------------------------------------
| RESPONSIVO
|--------------------------------------------------------------------------
*/

@media (max-width:768px){

.dashboard-card{

padding:18px;

}


.dashboard-card strong{

font-size:24px;

}


.action-buttons{

justify-content:flex-start;

}


.status{

font-size:11px;

padding:

5px

10px;

}

}