/* Estilos para modales en dispositivos móviles */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-content {
        border-radius: 0.5rem;
    }

    .modal-body {
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .modal-footer {
        padding: 0.75rem;
    }

    /* Asegurar que los inputs sean interactivos en móviles */
    .mobile-input {
        background-color: #1a1e24 !important;
        color: #fff !important;
        border: 1px solid #2d3846 !important;
        opacity: 1 !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 16px !important; /* Previene zoom en iOS */
    }

    .mobile-input:focus {
        background-color: #2a2f35 !important;
        border-color: #3d4856 !important;
        box-shadow: 0 0 0 0.2rem rgba(124, 77, 255, 0.25) !important;
    }

    .input-group-text {
        background-color: #2a2f35 !important;
        border-color: #2d3846 !important;
        color: #fff !important;
    }
}

/* Prevenir scroll del body cuando el modal está abierto */
body.modal-open {
    position: fixed;
    width: 100%;
}

/* Resto de los estilos permanecen igual */
.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 20px auto;
    padding: 15px;
}

.stat-card {
    background-color: #1a1f25;
    border: 1px solid #2d3846;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
}

.stat-card h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    margin-bottom: 15px;
    font-weight: normal;
}

.stat-value {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

/* Estilos para la página de login */
body.login-page {
    background-color: #000000;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.login-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.login-box h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.8rem;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    background-color: #1e3c72;
    border-color: #1e3c72;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2a5298;
    border-color: #2a5298;
    transform: translateY(-2px);
}

.alert {
    margin-bottom: 1rem;
    border-radius: 5px;
}