*{
    padding: 0;
    margin: 0;
}
body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.main-navbar {
    padding-top: 120px; 
}

footer {
    flex-shrink: 0;
    padding: 20px 0;
    margin-top: auto;
}


/* -------- PANEL DE ADMINISTRACIÓN -------- */

.bg-dashboard {
    background-color: #f8f9fa !important;
    color: #050000 !important;
}


/* Navbar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Botones con hover */
.btn-dark.hover-white {
    transition: all 0.3s;
}

.btn-dark.hover-white:hover {
    background-color: white !important;
    color: #212529 !important;
    border: 1px solid #212529 !important;
}

.btn-danger.hover-white-danger {
    transition: all 0.3s;
}

.btn-danger.hover-white-danger:hover {
    background-color: white !important;
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
}


/* Iconos flechas de ordenamiento */
.sort-icon {
    color: #e30413;
}

.custom-close-btn {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

/* --------POLÍTICA DE PRIVACIDAD -------- */
.privacy-content {
    font-size: 1rem;
    line-height: 1.6;
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.privacy-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul,
.privacy-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

/* -------- FONDO DE LA PÁGINA DE REGISTRO, Y MENSAJE DE ERROR Y ÉXITO -------- */
.bg-vodafone {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    justify-content: flex-start;
    color: #ffffff !important;
    background-color: #ae0000 !important;
    overflow-x: hidden; /* Previene scroll horizontal */
}

.logo {
    width: 150px;
    margin: 40px 0 80px 0;
}

.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-label small {
    font-size: 0.75rem;
    color: #6c757d;
}

.message-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.icon-warning {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.message-title {
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
    color: white;
}

.message-subtitle {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    font-weight: normal;
    color: white;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.card-header {
    background-color: #e60000;
    border-bottom: none;
}

.btn-danger {
    background-color: #e60000;
    border-color: #e60000;
}

.btn-danger:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}



/* Forzar visualización en línea para la columna de registros */
.table th, 
.table td {
    white-space: nowrap;
}


/* Estilos para inputs de contraseña con toggle */
.toggle-password {
    border-color: #ced4da;
}

.form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}


/* Estilos para enlaces de texto */
.text-link-custom {
    color: #6c757d;
    text-decoration: none;
}

.text-link-custom:hover {
    color: #3d4043; 
}



/* Estilos para la imagen de fondo en tablet y desktop */
@media (min-width: 768px) {
    .container {
        position: relative;
        min-height: 100vh;
    }

    .card {
        background: rgba(255, 255, 255, 0.95);
        position: relative;
        z-index: 2;
        margin-top: 2rem;
    }

    .background-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
        display: block !important;
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .mobile-full-width {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        position: relative;
    }

    .mobile-card {
        margin: 0;
        border-radius: 0;
        width: 100%;
        padding: 15px;
    }

    .card {
        border-radius: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .card-header {
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .row {
        margin: 0 !important;
    }
}

/* Estilos tabla campañas para botones de acción */
@media (max-width: 980px) {
    .table-responsive {
        overflow-x: auto;
    }
    
    .action-button-text {
        display: none !important;
    }
    
    .btn.btn-sm {
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 991px) {
    .modal-body {
        padding: 1rem !important;
    }
    .list-group-item {
        padding: 0.75rem !important;
    }
}









