/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #edf2ff; /* color suave de fondo */
    margin: 0;
    padding: 0;
}

/* T¨ªtulo centrado */
h2 {
    color: #1a8b84;
    margin-bottom: 1rem;
    text-align: center;
}

/* Contenedor principal */
.main-content {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(47, 60, 63, 0.15); /* sombra con el tono oscuro */
}

/* Formulario */
form {
    margin-bottom: 2rem;
}

label {
    font-weight: bold;
    color: #2f3c3f;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #94b0b0;
    border-radius: 6px;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    background-color: #ffffff;
    color: #2f3c3f;
}

input[type="checkbox"] {
    transform: scale(1.1);
    margin-right: 0.4rem;
}

/* Bot¨®n principal */
button[type="submit"] {
    background-color: #1a8b84;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2f3c3f;
}

/* Tabla */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    text-align: left;
    padding: 0.8rem;
    border: 1px solid #94b0b0;
}

.table th {
    background-color: #1a8b84;
    color: #ffffff;
}

.table td {
    color: #2f3c3f;
    background-color: #ffffff;
}

.table tr:nth-child(even) {
    background-color: #edf2ff;
}

.table-hover tbody tr:hover {
    background-color: #94b0b0;
    color: #ffffff;
}

/* Botones de acci¨®n */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.btn i {
    margin-right: 4px;
}

.btn-warning {
    background-color: #1a8b84;
    color: #ffffff;
}

.btn-warning:hover {
    background-color: #2f3c3f;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Mensajes */
p {
    font-weight: bold;
    text-align: center;
    color: #2f3c3f;
}

/* Responsivo */
@media (max-width: 600px) {
    .main-content {
        padding: 1rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 0.9rem;
    }
}
