.banner {
    margin-top: 40px;
    text-align: center;
}

.banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.table-scroll {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.table-scroll table {
    margin-top: 0;
}

.table-scroll thead th {
    position: sticky;
    top: 0;
    background: #163a63;
    color: #fff;
    z-index: 2;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #222;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

h1, h2, h3 {
    margin-top: 0;
    color: #163a63;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, textarea, select, button {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 15px;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

button {
    background: #1e73be;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
}

button:hover {
    background: #155a96;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.estado {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    background: #e6eef8;
    font-weight: bold;
    color: #163a63;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background: #163a63;
    color: white;
}

a.btn, .btn {
    display: inline-block;
    background: #1e73be;
    color: white;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 10px;
}

a.btn-danger {
    background: #c9302c;
}

.mensaje {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #eef6ff;
    color: #163a63;
}

.login-box {
    max-width: 420px;
    margin: 80px auto;
}

@media (max-width: 700px) {
    .row {
        grid-template-columns: 1fr;
    }
}