/* Añade al final de styles.css */

/* Estilos para la página principal actualizada */
.system-version {
    text-align: right;
    color: #666;
    font-size: 0.9rem;
}

.system-version .version {
    background: #4a6cf7;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    margin-right: 10px;
}

.system-version .status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.system-version .status i {
    font-size: 0.8rem;
}

.system-version .status.online i {
    color: #28a745;
}

.system-version .status.maintenance i {
    color: #dc3545;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #333;
}

.modal-body {
    margin: 20px 0;
}

.modal-body h3 {
    color: #4a6cf7;
    margin: 15px 0 10px 0;
    font-size: 1.1rem;
}

.modal-body p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-footer {
    text-align: right;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Botones admin pequeños */
.btn-admin-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-admin-small:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

/* Alertas */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-warning {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    color: #856404;
}

.alert-success {
    background: #d4edda;
    border-left: 5px solid #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border-left: 5px solid #dc3545;
    color: #721c24;
}

/* Input con ícono */
.password-container input {
    padding-right: 40px !important;
}

/* Botón deshabilitado */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .registration-options {
        flex-direction: column;
    }
    
    .stats-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-links {
        flex-direction: column;
    }
    
    .quick-link {
        text-align: center;
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
}