/* =========================================================
   TEMA CLARO (MODERNO) - Hotel Reservas
   Substitua todo o conteúdo do assets/css/style.css por este.
   ========================================================= */

:root {
    --radius: 18px;
    --shadow: 0 10px 30px rgba(16, 24, 40, .08);

    --bg: #f5f7fb;
    --panel: rgba(255, 255, 255, .72);
    --card: #ffffff;

    --border: rgba(16, 24, 40, .12);
    --muted: rgba(16, 24, 40, .62);
    --text: #0f172a;

    --primary: #2563eb;
    /* azul */
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #ef4444;

    --focus: 0 0 0 .25rem rgba(37, 99, 235, .18);
}

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(900px 450px at 15% -10%, rgba(37, 99, 235, .12), transparent),
        radial-gradient(900px 450px at 85% 0%, rgba(16, 185, 129, .12), transparent),
        var(--bg);
    color: var(--text);
}

/* Links */
a {
    color: var(--primary);
}

a:hover {
    color: #1d4ed8;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, .75) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: var(--text) !important;
}

.navbar .nav-link {
    opacity: .78;
}

.navbar .nav-link:hover {
    opacity: 1;
}

/* Botões */
.btn {
    border-radius: 14px;
    box-shadow: none;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    filter: brightness(.95);
}

.btn-outline-light {
    border-color: rgba(15, 23, 42, .25) !important;
    color: var(--text) !important;
}

.btn-outline-light:hover {
    background: rgba(15, 23, 42, .06) !important;
}

.btn-outline-secondary {
    border-color: rgba(15, 23, 42, .18) !important;
}

.btn-outline-secondary:hover {
    background: rgba(15, 23, 42, .06) !important;
}

/* Cards / Glass */
.card {
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.card-glass {
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Hero */
.hero {
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero .lead {
    color: var(--muted) !important;
}

/* Inputs */
.form-control,
.form-select {
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(15, 23, 42, .16);
    color: var(--text);
}

.form-control::placeholder {
    color: rgba(15, 23, 42, .38);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(37, 99, 235, .55);
    box-shadow: var(--focus);
}

/* Títulos e texto muted */
.text-muted {
    color: var(--muted) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
}

/* Badges */
.badge {
    border-radius: 999px;
    padding: .45rem .6rem;
    font-weight: 600;
}

.text-bg-dark {
    background: rgba(15, 23, 42, .10) !important;
    color: var(--text) !important;
    border: 1px solid rgba(15, 23, 42, .12);
}

.text-bg-warning {
    background: rgba(245, 158, 11, .18) !important;
    color: #7a4b00 !important;
    border: 1px solid rgba(245, 158, 11, .35);
}

.text-bg-success {
    background: rgba(22, 163, 74, .16) !important;
    color: #0b5a27 !important;
    border: 1px solid rgba(22, 163, 74, .35);
}

.text-bg-secondary {
    background: rgba(100, 116, 139, .18) !important;
    color: #334155 !important;
    border: 1px solid rgba(100, 116, 139, .35);
}

/* Tabelas */
.table {
    color: var(--text);
}

.table thead th {
    background: rgba(15, 23, 42, .04) !important;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border) !important;
}

.table td,
.table th {
    border-color: rgba(15, 23, 42, .10) !important;
}

.table-hover tbody tr:hover {
    background: rgba(37, 99, 235, .06) !important;
}

/* Room cards */
.room-card {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.room-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .30);
    box-shadow: 0 14px 40px rgba(16, 24, 40, .12);
}

.room-thumb {
    height: 190px;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.room-hero {
    height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Clamp (descrição curta) */
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Alerts */
.alert {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, .75);
    border-top: 1px solid var(--border);
    color: var(--muted);
}

/* Melhorias para áreas com muito espaço */
main.container {
    min-height: calc(100vh - 140px);
}

/* Ajuste para “cards” do admin ficarem mais claros */
.card.p-3 .display-6 {
    color: var(--text);
}

/* Flatpickr (melhor integração no tema claro) */
.flatpickr-calendar {
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, .12) !important;
    box-shadow: 0 20px 50px rgba(16, 24, 40, .14) !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .room-hero {
        height: 280px;
    }

    .hero {
        padding: 1.2rem !important;
    }
}


/* =========================================================
   BOTÕES 100% SÓLIDOS (SEM BRANCO / SEM OUTLINE)
   Cole no FINAL do assets/css/style.css
   ========================================================= */

:root {
    --btn-radius: 14px;

    --btn-primary: #2563eb;
    --btn-secondary: #334155;
    --btn-success: #16a34a;
    --btn-warning: #f59e0b;
    --btn-danger: #ef4444;
    --btn-info: #0ea5e9;
    --btn-dark: #0f172a;
}

/* base */
.btn {
    border-radius: var(--btn-radius) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* estados */
.btn:hover {
    filter: brightness(.92);
}

.btn:active {
    filter: brightness(.88);
}

.btn:focus {
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .22) !important;
}

/* cores sólidas */
.btn-primary,
.btn-outline-primary,
.btn-light,
.btn-outline-light {
    background: var(--btn-primary) !important;
    border-color: var(--btn-primary) !important;
}

.btn-secondary,
.btn-outline-secondary {
    background: var(--btn-secondary) !important;
    border-color: var(--btn-secondary) !important;
}

.btn-success,
.btn-outline-success {
    background: var(--btn-success) !important;
    border-color: var(--btn-success) !important;
}

.btn-warning,
.btn-outline-warning {
    background: var(--btn-warning) !important;
    border-color: var(--btn-warning) !important;
    color: #111827 !important;
    /* preto para legibilidade no amarelo */
}

.btn-danger,
.btn-outline-danger {
    background: var(--btn-danger) !important;
    border-color: var(--btn-danger) !important;
}

.btn-info,
.btn-outline-info {
    background: var(--btn-info) !important;
    border-color: var(--btn-info) !important;
}

.btn-dark,
.btn-outline-dark {
    background: var(--btn-dark) !important;
    border-color: var(--btn-dark) !important;
}

/* btn-link também vira botão sólido */
.btn-link {
    background: var(--btn-primary) !important;
    border-color: var(--btn-primary) !important;
    text-decoration: none !important;
    padding: .5rem .9rem !important;
}

/* desabilitado */
.btn:disabled,
.btn.disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
    filter: none !important;
}