:root {
    --branco: #fff;
    --primary-color: #7323a9;
    --dark-color: #121212;
    --text-color: #e0e0e0;
    --secondary-color: #333333;
    --accent-color: #fd18f0;
}

.roxo {
    color: var(--primary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/*BOTÕES*/
.btn-roxo {
    /* background-color: var(--primary-color); */
    background: linear-gradient(135deg, #fd18f0, #7323a9);
    color: var(--branco);
    font-weight: 600;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-roxo:hover,
.btn-roxo:focus,
.btn-roxo:active {
    background-color: var(--accent-color);
    color: var(--branco) !important;
}

/*NAVBAR MOBILE*/
.button-container {
    display: flex;
    background-color: var(--branco);
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: space-around;
}

.button {
    outline: 0 !important;
    border: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-3px);
}

.button span {
    font-size: .5rem;
}

.button i {
    font-size: 1.1rem;
}


/*PERFIL BARBEARIA*/
.header-perfil-barbearia {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-perfil-barbearia {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.overlay-banner-perfil-barbearia {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--branco);
    border-radius: 20px 20px 0 0;
    padding: 20px;
}

.logo-barbearia-perfil {
    width: 60px;
    height: 60px;
    border-radius: 999px;
}

.nome-barbearia-perfil {
    font-size: 1.1rem;
    font-weight: 600;
}

.container-btn-contato {
    background-color: #e680ff1f;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: .2rem;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    font-size: .5rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s;
}

.container-btn-contato:hover {
    transform: translateY(-3px);
}

.container-btn-contato i {
    font-size: 1rem;
}

.nota-perfil-barbearia {
    display: flex;
    align-items: center;
    font-size: .8rem;
}

.nota-perfil-barbearia i {
    color: gold;
    margin-right: 5px;
}

.status-barbearia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .8rem;
    border-radius: 5px;
}

.status-barbearia span {
    font-size: .6rem;
    font-weight: 600;
}

.aberto {
    /* background-color: #d8ffd7; */
    color: #11dd0a;
    font-size: .6rem;
    font-weight: 600;
}

.titulo {
    font-size: 1.1rem;
    font-weight: 600;
}

.tabela-horarios {
    width: 100%;
    border-collapse: collapse;
}

.tabela-horarios th,
.tabela-horarios td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--text-color);
}

.tabela-horarios th {
    font-weight: 600;
    color: var(--dark-color);
}

.card-servico {
    /* background-color: #fcfcfc; */
    border: 1px solid var(--text-color);
    padding: 1rem;
    border-radius: 10px;
}

.card-servico h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-servico span {
    font-size: 1rem;
    font-weight: 600;
    color: #08d101;
}

.foto-funcionario {
    width: 100px;
    height: 100px;
}

.nome-funcionario {
    font-size: 1.1rem;
    font-weight: 600;
}

.nome-cliente-avaliacao {
    font-size: 1rem;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.rating i {
    color: gold;
    margin-right: 5px;
}

/*LOGIN*/

.container-login {
    width: 100dvw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-login {
    width: 150px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.form button {
    align-self: flex-end;
}

.flex-column>label {
    color: #151717;
    font-weight: 600;
}

.inputForm {
    border: 1.5px solid #ecedec;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.2s ease-in-out;
    gap: .2rem;
}

.inputForm i {
    color: var(--primary-color);
}

.input {
    border-radius: 10px;
    border: none;
    width: 85%;
    height: 100%;
}

.input:focus {
    outline: none;
}

.inputForm:focus-within {
    border: 1.5px solid var(--primary-color);
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.flex-row>div>label {
    font-size: 14px;
    color: black;
    font-weight: 400;
}

.span {
    font-size: 14px;
    margin-left: 5px;
    color: #2d79f3;
    font-weight: 500;
    cursor: pointer;
}

.button-submit {
    margin: 20px 0 10px 0;
    background-color: #151717;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: pointer;
}

.button-submit:hover {
    background-color: #252727;
}

.p {
    text-align: center;
    color: black;
    font-size: 14px;
    margin: 5px 0;
}

/* MINHAS RESERVAS */

.container-item-agendamento {
    background-color: #fafafa;
    border-radius: 10px;
    padding: .5rem;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-bottom: 1rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.container-item-agendamento h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.container-item-agendamento img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.btn-excluir {
    color: #F44336;
    border: 1px solid #F44336;
    transition: .3s;
}

.btn-excluir:hover {
    color: var(--branco);
    background-color: #F44336;
    border: 1px solid #F44336;
}

.btn-avaliacao {
    color: #3cd441;
    border: 1px solid #3cd441;
    transition: .3s;
}

.btn-avaliacao:hover {
    color: var(--branco);
    background-color: #3cd441;
    border: 1px solid #3cd441;
}

.preco-agendamento {
    color: #4CAF50;
    font-weight: 600;
}

.servico-horario-agendamento {
    font-size: .8rem;
}

.estrelas .estrela {
    font-size: 2.2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0 2px;
}

.estrelas .estrela.selected,
.estrelas .estrela.hovered {
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}

/* PERFIL DO USUÁRIO */
.img-perfil-usuario {
    width: 120px;
    height: 120px;
    border-radius: 999px;
}

/* RESERVA BARBEARIA */
.reservation-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    color: var(--text-color);
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Calendar Styles */
.calendar-container {
    margin-bottom: 30px;
}

.month-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.month-name {
    font-size: 18px;
    font-weight: 600;
}

.month-nav {
    color: var(--primary-color);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
}

.calendar th {
    font-weight: normal;
    color: #999;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.calendar td {
    text-align: center;
    padding: 0;
}

.calendar .day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}

.calendar .day:hover:not(.disabled):not(.selected) {
    background-color: var(--branco);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}

.calendar .selected {
    background-color: var(--primary-color);
    color: white;
}

.calendar .disabled {
    color: rgb(255, 150, 150);
    cursor: not-allowed;
}

.calendar .today:not(.selected) {
    border: 1px solid var(--primary-color);
}

/* Time Slots Styles */
.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.time-slot {
    background-color: #fafafa;
    border: none;
    color: var(--dark-color);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.time-slot:hover:not(.disabled) {
    box-shadow: rgba(195, 0, 255, 0.233) 0px 0px 0px 1px;
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: var(--branco);
}

.time-slot.disabled {
    background-color: rgb(255, 150, 150);
    color: var(--branco);
    cursor: not-allowed;
}

/* Barber Selection Styles */
.barber-selection {
    margin-bottom: 30px;
}

.barber-card {
    background-color: #fafafa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.barber-card:hover {
    box-shadow: rgba(195, 0, 255, 0.233) 0px 0px 0px 1px;
}

.barber-card.selected {
    box-shadow: var(--primary-color) 0px 0px 0px 1px;
}

.barber-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.barber-info {
    flex: 1;
}

.barber-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.barber-specialty {
    font-size: .8rem;
    margin-bottom: 5px;
}

.barber-rating {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.barber-rating i {
    color: gold;
    margin-right: 5px;
}

.barber-availability {
    font-size: 12px;
    color: #4CAF50;
}

/* Service Selection Styles */
.service-selection {
    margin-bottom: 30px;
}

.service-card {
    background-color: #FAFAFA;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    transition: all 0.2s ease;
}

.service-card:hover {
    box-shadow: rgba(195, 0, 255, 0.233) 0px 0px 0px 1px;
}

.service-card.selected {
    box-shadow: var(--primary-color) 0px 0px 0px 1px;
}

.service-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.service-description {
    font-size: .8rem;
    margin-bottom: 10px;
}

.service-price {
    font-weight: 600;
    color: #08d101;
}

.service-duration {
    font-size: 14px;
    color: #aaa;
    text-align: right;
}

/* Reservation Summary Styles */
.reservation-summary {
    background-color: #fafafa;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-label {
    color: var(--dark-color);
}

.summary-value {
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--secondary-color);
    font-weight: 600;
}

.summary-price {
    color: #08d101;
}

@media screen and (max-width: 575px) {

    .container-login {
        align-items: flex-start;
    }

}