main {
    flex: 1;
}

section.hero {
    text-align: center;
    padding: 100px 20px 50px 20px;
    color: #fff;
}

section.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

section.hero form {
    display: inline-block;
    background: linear-gradient(to right, #101010, #3E3E3E);
    padding: 50px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

section.hero form label {
    display: block;
    margin-top: 10px;
    color: #fff;
}

section.hero form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
}

section.hero button {
    background: linear-gradient(to right, #956534, #d2bc8a, #956534);
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 20px auto;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
}

section.hero button:hover {
    transform: scale(1.1);
}

.password-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.password-toggle:hover {
    color: #333;
}

.mensaje-alerta {
    background-color: #956534;
    color: #d8c79d;
    border: 1px solid #d2bc8a;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nuevos estilos para tablas dentro de .hero */
.hero table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #1f1f1f;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.hero th,
.hero td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #444;
}

.hero thead {
    background: linear-gradient(to right, #956534, #d2bc8a, #956534);
    color: #fff;
}

.hero tbody tr:hover {
    background-color: #333;
}

.hero a {
    color: #d2bc8a;
    text-decoration: none;
    margin: 0 10px;
}

.hero a:hover {
    text-decoration: underline;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    position: relative;
}

.modal .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Oculta la columna Username y sus celdas en móvil */
@media (max-width: 440px) {
    table th:first-child,
    table td:first-child {
        display: none!important;
    }    
    .hero th,
    .hero td {
        padding: 10px!important;
    }
    
}