.whatsapp-btn {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #25D366;
color: white;
padding: 12px 15px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;

}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
}

/* General */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Títulos */
h2, h3 {
    color: #4c4c4c;
    text-align: c;
    margin-bottom: 20px;
}

/* Mensajes de éxito o error */
.cambio p {
    text-align: left;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Estilos del formulario */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form .form-group {
    display: flex;
    flex-direction: column;
}

form .form-group label {
    font-size: 16px;
    color: #333;
}

form .form-group input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    outline: none;
}

form .form-group input:focus {
    border-color: #007bff;
}

form .form-group img {
    margin-top: 10px;
    border-radius: 4px;
}

/* Botón de submit */
button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Panel Administrativo */
.admin-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.admin-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.admin-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.admin-btn {
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.admin-btn:hover {
    background-color: #0056b3;
}

.admin-btn:active {
    background-color: #004085;
}

.admin-btn:last-child {
    background-color: #dc3545;
}

.admin-btn:last-child:hover {
    background-color: #c82333;
}

/* Estilos para la imagen del logo */
.admin-card img {
    max-width: 150px;
    margin-top: 10px;
    border-radius: 8px;
}


/* css login*/
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Fondo de la página */
.login-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #1f2937, #111827);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* Caja del login */
.login-box {
    background: #ffffff;
    padding: 40px;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Título */
.login-box h2 {
    margin-bottom: 25px;
    color: #111827;
}

/* Inputs */
.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

/* Efecto al escribir */
.login-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
}

/* Botón */
.login-box button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover botón */
.login-box button:hover {
    background: #1d4ed8;
}

/* Mensaje de error */
.login-box p {
    margin-bottom: 15px;
    font-size: 14px;
}

/*header*/

/* Quitar caja del header */
header .container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Quitar cajas blancas arriba */
header div {
    background: transparent !important;
}

/* Por si usaste card */
header .card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/*footer*/

.footer-custom {
    background: #000;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 20px;
}

.footer-custom .container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.footer-row {
    justify-content: flex-start;
}

.footer-col {
    text-align: left !important;
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 15px;
    text-align: left !important;
}

.footer-info {
    text-align: left !important;
}

.footer-info p {
    margin: 0 0 8px 0;
    color: #fff;
    text-align: left !important;
}

.footer-links {
    padding-left: 0;
    margin: 0;
    text-align: left !important;
}

.footer-links li {
    margin-bottom: 8px;
    text-align: left !important;
}

.footer-links a,
.footer-redes a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover,
.footer-redes a:hover {
    text-decoration: underline;
}

.footer-custom hr {
    border-color: #333;
    margin: 25px 0;
}

.footer-copy p {
    color: #fff;
}

.logo_soluciones{
    width: 90px;
    height: auto;
    display: block;
}

.carrusel-estilo {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 0px;
    overflow: hidden;
}

.carrusel-estilo .carousel-inner img {
    height: 520px;
    object-fit: cover;
    filter: brightness(0.75);
}

.contenido-carrusel {
    bottom: 18%;
}

.contenido-carrusel h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.contenido-carrusel p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .carrusel-estilo .carousel-inner img {
        height: 300px;
    }

    .contenido-carrusel {
        bottom: 10%;
    }

    .contenido-carrusel h2 {
        font-size: 1.5rem;
    }

    .contenido-carrusel p {
        font-size: 0.9rem;
    }
}


.carrusel-estilo {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

.carrusel-estilo .carousel-inner img {
    height: 450px;
    object-fit: cover;
    filter: brightness(0.75);
}

.contenido-carrusel {
    bottom: 18%;
}

.contenido-carrusel h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.contenido-carrusel p {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

.img-servicio {
    height: 220px;
    object-fit: cover;
}

.card {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .carrusel-estilo .carousel-inner img {
        height: 280px;
    }

    .contenido-carrusel h2 {
        font-size: 1.5rem;
    }

    .contenido-carrusel p {
        font-size: 0.9rem;
    }
}

.tarjeta-servicio {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-5px);
}

.img-servicio {
    height: 220px;
    object-fit: cover;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.card-text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Fondo general */
.config-body {
    background: linear-gradient(135deg, #1f2937, #111827);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor principal */
.config-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Título */
.config-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    color: #111827;
}

/* Labels */
.config-container label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Inputs */
.config-container input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s;
}

/* Focus */
.config-container input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.4);
}

/* Botón guardar */
.config-container button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

.config-container button:hover {
    background: #1d4ed8;
}

/* Botón volver */
.volver-btn {
    display: inline-block;
    margin-bottom: 20px;
    background: #6b7280;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
}

.volver-btn:hover {
    background: #4b5563;
}


.mensaje {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}


.no-resize {
    resize: none;
    overflow-y: auto;
}


.form-control {
    border-radius: 10px;
    padding: 10px;
}


.mb-3 {
    margin-bottom: 20px;
}


.form-label {
    font-weight: 600;
    margin-bottom: 5px;
}


.form-control:focus {
    border-color: #198754; 
    box-shadow: 0 0 5px rgba(25, 135, 84, 0.5);
}