/* ---------- ESTILO GERAL ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0b7285 0%, #15aabf 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ---------- CABEÇALHO ---------- */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- IMAGEM ---------- */
.imagem-container {
    text-align: center;
    margin-bottom: 40px;
}

.imagem-status {
    max-width: 450px;
    width: 100%;
    height: 380px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- SEÇÕES ---------- */
.resumo-geral,
.detalhes-leitos {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.resumo-geral h2,
.detalhes-leitos h2 {
    color: #0b7285;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

/* ---------- RESUMO GERAL ---------- */
.resumo-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.resumo-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0b7285;
}

.resumo-item h3 {
    color: #0b7285;
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resumo-numero {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b7285;
}

/* ---------- CARDS DE LEITOS ---------- */
.container-leitos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.leito-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 5px solid #0b7285;
    transition: transform 0.3s, box-shadow 0.3s;
}

.leito-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.leito-titulo {
    color: #0b7285;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leito-info {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #495057;
}

.leito-info span {
    font-weight: 600;
    color: #0b7285;
}

/* ---------- BARRAS DE PROGRESSO ---------- */
.barra-container {
    margin-top: 15px;
}

.barra-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #6c757d;
}

.barra {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.barra-preenchida {
    height: 100%;
    background: linear-gradient(90deg, #0b7285, #15aabf);
    border-radius: 5px;
    transition: width 0.8s ease;
}

/* ---------- BOTÕES ---------- */
.botoes {
    text-align: center;
    margin-top: 40px;
}

.btn-voltar {
    background: white;
    color: #0b7285;
    border: 2px solid #0b7285;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-voltar:hover {
    background: #0b7285;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 114, 133, 0.3);
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .resumo-info {
        grid-template-columns: 1fr;
    }
    
    .container-leitos {
        grid-template-columns: 1fr;
    }
    
    .resumo-geral,
    .detalhes-leitos {
        padding: 20px;
    }
    
    .btn-voltar {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .imagem-status {
        max-width: 250px;
    }
}