/* Paleta corporativa iPayrollMX Partners */
:root {
    --color-primary: #E5812E; /* Naranja corporativo */
    --color-secondary: #495057; /* Gris oscuro */
    --color-tertiary: #FFF; /* Gris oscuro */
    --color-text: #212529; /* Gris casi negro (Bootstrap default) */
}

/* Hero principal */
.hero-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    border-radius: 30px; /* redondea las esquinas */
    overflow: hidden; /* asegura que el contenido respete el borde */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* opcional, da relieve elegante */
}




    .hero-section h1,
    .hero-section p {
        color: #fff;
    }

/* Botones personalizados */
.btn-primary-custom {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
}

    .btn-primary-custom:hover {
        background-color: #cf6f1f;
        color: #fff;
    }

.btn-secondary-custom {
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
}

    .btn-secondary-custom:hover {
        background-color: #343a40;
        color: #fff;
    }

/* Sección de beneficios */
.benefits-section {
    color: var(--color-text);
    padding: 3rem 0;
}

    .benefits-section h2 {
        color: var(--color-secondary);
    }

    .benefits-section i {
        color: var(--color-primary);
    }

/* Call to Action final */
.cta-section {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
    border-radius: 30px; /* redondea las esquinas */
    overflow: hidden; /* asegura que el contenido respete el borde */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* opcional, da relieve elegante */
}

    .cta-section .btn {
        background-color: var(--color-primary);
        color: #fff;
    }

        .cta-section .btn:hover {
            background-color: #cf6f1f;
        }


.footer-section {
    color: #fff;
    background-color: #212529; /* fondo oscuro */
    margin-top: 20px;
}

.footer-box {
    background: rgba(255, 255, 255, 0.05);
}

.footer-title {
    color: var(--color-tertiary);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--color-tertiary);
    margin-bottom: 1rem;
}

.footer-link {
    color: #fff;
    opacity: 0.75;
    text-decoration: none;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Fondo suave para inputs */
.bg-primary-softtis {
    background-color: rgba(229, 129, 46, 0.1); /* naranja corporativo muy suave */
    color: var(--color-text);
}

/* Botón principal */
.btn-primary-custom {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
}

    .btn-primary-custom:hover {
        background-color: #cf6f1f;
        color: #fff;
    }



#wrapper {
    display: flex;
    width: 100%;
}

#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    transition: all 0.3s ease;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: -250px; /* oculta el sidebar */
}

#wrapper.toggled #page-content-wrapper {
    margin-left: 0; /* el contenido ocupa todo el ancho */
}

#page-content-wrapper {
    flex: 1;
    transition: all 0.3s ease;
}


#sidebar-wrapper {
    width: 250px;
    position: fixed;  fijo a la izquierda 
    left: 0;
    top: 0;
    height: 100%;
    background-color: #212529;
    transition: transform 0.3s ease;
    transform: translateX(0);  visible 
}

#wrapper.toggled #sidebar-wrapper {
    transform: translateX(-100%);  se oculta completamente 
}

#page-content-wrapper {
    flex: 1;
    margin-left: 250px;  deja espacio cuando sidebar está visible 
    transition: margin-left 0.3s ease;
}

#wrapper.toggled #page-content-wrapper {
    margin-left: 0;  ocupa todo el ancho cuando sidebar está oculto 
}

.disabled-link {
    pointer-events: none; /* bloquea clics */
    opacity: 0.6; /* se ve deshabilitado */
    cursor: not-allowed; /* cambia el cursor */
}
