/* Cores */
:root {
    --cor-primaria: #007bff;
    --cor-secundaria: #6c757d;
    --cor-praia: #4682B4;
    --cor-fundo: #f4f6f9;
}

/* Estilos Gerais */
body {
    background-color: var(--cor-fundo);
    font-family: 'Arial', sans-serif;
}

/* Navbar */
.navbar {
    /* background-color: var(--cor-praia) !important; */
    background-color: #73C0ED !important;
}

.navbar>.container-fluid{
    font-size: .9rem;
}

.navbar-brand {
    /* color: white !important; */
    color: #0B3751 !important;
    font-weight: bold;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.nav-link {
    /* color: white !important; */
    color: #0B3751 !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    /* color: #f0f0f0 !important; */
    color: #000 !important;
    transform: scale(1.05);
}
.casa{
    text-decoration: none; 
    line-height: 1.2; 
    font-weight: bold; 
    margin-right: 12px;
    font-size: 1.2rem; 
}
.logo{
    width: 120px;
}

/* Carrossel */
.carousel-item img {
    max-height: 500px;
    object-fit: cover;
}

/* Cards */
.card {
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Tabelas */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(70, 130, 180, 0.1);
}

.voltar_res {
    justify-content: center;
    display: flex;
}

/* Botões */
.btn-primary {
    background-color: var(--cor-praia);
    border-color: var(--cor-praia);
}

.btn-primary:hover {
    background-color: #3a6d94;
    border-color: #3a6d94;
}

/* Tema de Praia */
.beach-theme {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    color: white;
}

/* Footer */
footer {
    background-color: var(--cor-praia);
    color: white;
    padding: 20px 0;
}

/* Formulários */
.form-control:focus {
    border-color: var(--cor-praia);
    box-shadow: 0 0 0 0.2rem rgba(70, 130, 180, 0.25);
}

.calendar { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px;
}

.calendar th, .calendar td { 
    /* border: 1px solid #ddd;  */
    border: 1px solid #cbc0c0; 
    padding: 10px; 
    text-align: center; 
}
.calendar th { 
    background-color: #f5f5f5; 
}
.reserved { 
    background-color: #ffdbdb !important; 
}
.today { 
    background-color: #e6f3ff; 
}
.date-number { 
    font-size: 1.2em; 
    font-weight: bold; 
}
.unavailable { 
    background-color: #f0f0f0; 
}

/* #modal-data_final {
    width: 150px; /* Ajuste a largura do campo *
}

#modal-data_final + img { /* Estiliza o ícone *
    cursor: pointer;
    margin-left: 5px;
    vertical-align: middle;
} */
#modal-data_final {
    background-image: url('caminho/para/seu/icone-calendario.png'); /* Substitua pelo caminho do seu ícone */
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 30px; /* Ajuste este valor para evitar sobreposição do texto */
    width: 150px; /* Mantenha ou ajuste a largura do campo */
}

/* 
  Remove o ícone de feedback de validação (check/x)
  APENAS dos inputs de código OTP (One-Time Password)
  dentro do modal de login.
*/
#loginModal .otp-input {
    background-image: none !important;
    padding-right: 0.75rem; /* Reseta o padding que era usado para o ícone */
}

/* Responsividade */
@media (max-width: 992px) {
    .navbar {
        /* width: 112vw; */
    }
    .container, .container-lg, .container-md, .container-sm {
        /* margin-left: 14px !important; */
    }
}    
@media (max-width: 768px) {
    .container {
        /* padding-left: 10px;
        padding-right: 10px; */
    }
    .calendar th, .calendar td {
        /* padding: 1px;
        font-size: 0.6em !important; */
    }
    .calendar th {
       /* font-size: 0.9em; */
    }
    .calendar { 
        /* width: 50%;  */
    }
    /* .reserved{
        font-size: 0.65em;
    } */
    .navbar {
        /* width: 100vw; */
    }
     .casa {
        /* font-size: 1rem !important; */
    }
    .h2, h2 {
        /* font-size: 1.6rem; */
    }
    .h4, h4 {
        /* font-size: 1.2rem; */
    }
    .mt-5 {
        /* margin-top: 1rem !important; */
    }
    .btn {
        /* font-size: .9rem; */
    }
}

@media (max-width: 576px) {
    .container, .container-sm {
        /* max-width: 100vw !important; */
    }
    .casa {
        font-size: 1rem !important;
    }
    .h2, h2 {
        /* font-size: 1.4rem; */
    }
    .h4, h4 {
        /* font-size: 1rem; */
    }
    .mt-5 {
        /* margin-top: 1rem !important; */
    }
    .btn {
        /* font-size: .85rem; */
    }
}

@media (max-width: 450px) {
    .navbar {
        /* width: 124% !important; */
        /* width: 149% !important; */
    }
    .calendar {
        /* width: 137%; */
    }
    .casa {
        /* font-size: 1rem !important; */
    }
    .h2, h2 {
        /* font-size: 1.4rem; */
    }
    .h4, h4 {
        /* font-size: 1rem; */
    }
    .mt-5 {
        /* margin-top: 1rem !important; */
    }
    .btn {
        font-size: .85rem !important;
    }
}

@media (max-width: 345px) {
    .btn {
        font-size: .6rem !important;
    }
    p {
        font-size: .85rem !important;
    }
}