.errorField {
    color: red;
    font-size: 0.7em; /* Ajusta el tamaño según tus necesidades */
}

/* Estilo de la notificación */
.notice-custom {
    border-left: 4px solid #dc3232;
    padding: 1em 2em;
    margin: 1em 0;
    background: #f5dcdc;
    color: #dc3232;
    position: relative;
}

/* Estilo del botón de descarte */
.notice-custom .dismiss {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    color: #dc3232;
    cursor: pointer;
}

.notice-custom .dismiss:hover {
    color: #c00;
}
.message.success {
    border-left: 4px solid #32a852;
    padding: 1em 2em;
    margin: 1em 0;
    background: #dcf5dc;
    color: #32a852;
    position: relative;
}

/* Estilo de las pestañas */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #8b8b8b;
}

/* Estilo de los botones de las pestañas */
.tab button {
    background-color: rgb(35, 171, 112) !important;
    color: #ffffff !important;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Cambiar el color de fondo de los botones cuando se pasa el cursor por encima */
.tab button:hover {
    background-color: rgb(26, 181, 153) !important;
}

/* Crear una clase activa para los botones */
.tab button.active {
    background-color: rgb(4, 101, 62) !important;
    color: #ffffff !important;
}
/* Estilo en modo oscuro */

html.darkluplite-dark-mode-enabled .tab button.active {
    background-color: rgb(4, 101, 62) !important;
    color: #ffffff !important;
}
html.darkluplite-dark-mode-enabled .tab button{
    background-color: rgb(46, 211, 183) !important;
    color: #0e2f24 !important;
}

/* Estilo del contenido de las pestañas */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

input:required:invalid {
    border: 1px solid red;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-row select,
.form-row input {
    flex: 1;
    margin: 5px;
}

.form-row #cod_pais_tel {
    flex: 0.2;
}

.form-row #telefono {
    flex: 0.8;
}

.form-row #cod_pais_tel_wa {
    flex: 0.2;
}

.form-row #telefono_wa {
    flex: 0.8;
}

.tooltip-container {
    cursor: pointer;
    position: relative;
}

.tooltip-text {
    visibility: hidden;
    width: 400px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    left: 100%;
    top: 50%;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.etiqueta_flotante{
    display: flex;
    align-items: center;
    margin-top: 1em;
}

.hamburger-menu {
    color: white;
    position: relative;
    display: inline-block;
    cursor: pointer;
    float: right; 
    margin-right: 20px; /* Añade un margen a la derecha */
}

.hamburger-icon {
    font-size: 22px;
}

.hamburger-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000; /* Aumenta el z-index para asegurarte que el menú desplegable siempre esté en la parte superior */
}

.hamburger-dropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

#toast {
    visibility: hidden;
    max-width: 50%;
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 60px;  /* Adjust this value to position the toast message */
    font-size: 17px;
    transform: translateX(-50%);
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
.hide {
    visibility: hidden;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #000;
}
.popup-actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.btn-popup {
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-popup:hover {
    transform: scale(1.1);
}
.btn-whatsapp {
    background: #25d366;
}
.btn-facebook {
    background: #1877f2;
}
.btn-instagram {
    background: #E1306C;
}

#popup-config-redes .popup-content {
    background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
    border: 1px solid #2b3b52;
    color: #e5edf8;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

#popup-config-redes .popup-content p {
    color: #e5edf8;
    font-weight: 600;
}

#popup-config-redes .close-popup {
    background: #0b7a55;
    color: #ffffff;
    border-radius: 6px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#popup-config-redes .close-popup:hover {
    filter: brightness(1.08);
}
