/*
Theme Name: Astra Child
Theme URI: Portal
Description: Child theme para Astra
Author: Tu Nombre
Author URI: Portal
Template: astra
Version: 1.0.0
*/

body {
  background-color: #111827;
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

p {
  color: #d1d5db;
}




/* Filtro */
.filtro-fecha {
    margin-bottom: 30px;
}

.filtro-fecha .valign-wrapper {
    align-items: flex-end;
}



/* Tabla */
table.highlight td,
table.highlight th {
    padding: 14px 16px;
}

table td:last-child {
    text-align: center;
}

/* Botón acción */
.btn-floating i {
    font-size: 1.4rem;
}

/* Modal ancho */
.modal.modal-xl {
    width: 90%;
    max-height: 90%;
}

@media (min-width: 993px) {
    .modal.modal-xl {
        width: 85%;
    }
}

.material-icons {
    font-size: 20px;
}


.acciones-filtro .btn {
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
}

/* Fila de filtros */
.row.valign-wrapper {
    display: flex;
    align-items: center !important; /* 👈 centra verticalmente */
}

/* Quitar espacio inferior que agrega Materialize */
.row.valign-wrapper .input-field {
    margin-bottom: 0 !important;
}

/* Contenedor botones */
.acciones-filtro {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Ajuste fino del botón principal */
.acciones-filtro .btn {
    display: flex;
    align-items: center;
    gap: 6px;
}



.btn {
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn i.material-icons {
    line-height: inherit;
    font-size: 20px;
}


/* ================================
   Ajustes finos formulario filtro
================================= */

.acciones-filtro {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
    flex-wrap: wrap;

    justify-content: flex-end;
    align-items: baseline;
}

.acciones-filtro .btn-flat {
    height: 36px;
    line-height: 36px;
}

/* Inputs tipo date más compactos */
.filtro-fecha input[type="date"] {
    margin-bottom: 0;
}

/* ================================
   Tabla estilo dashboard
================================= 

table.highlight {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

table.highlight thead {
    background: #f5f5f5;
}

table.highlight thead th {
    font-weight: 600;
    color: #444;
}

table.highlight tbody tr:hover {
    background-color: #fafafa;
}*/
/* ===== TABLA PORTAL PROVEEDORES ===== */

.responsive-table {
    /*background: #1a1a2e;*/
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(14, 253, 248, 0.08);
    color: #ffffff;
}

/* HEADER */
.responsive-table thead {
    background: #403089;
}

.responsive-table thead th {
    color: #0EFDF8;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(14,253,248,0.2);
}

/* FILAS */
.responsive-table tbody tr {
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hover elegante */
.responsive-table tbody tr:hover {
    background: rgba(14, 253, 248, 0.06);
}

/* Celdas */
.responsive-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: #403089;
}

/* Zebra suave (mejor que la default de Materialize) */
.responsive-table.striped tbody tr:nth-child(odd) {
    background-color: rgba(255,255,255,0.02);
}

/* Quitar highlight fuerte de materialize */
.highlight > tbody > tr:hover {
    background-color: rgba(14, 253, 248, 0.06) !important;
}

.responsive-table tbody  tr{
    border: 1px solid #ebebeb;
}


/* ================================
   Botón flotante mejor centrado
================================= */

.btn-floating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   Modal más limpio
================================= */

.modal {
    border-radius: 12px;
}

.modal .modal-content {
    padding: 30px;
}

.modal .modal-footer {
    background: #fafafa;
}

/* ================================
   Compatibilidad con Astra
================================= */

/* Evita que Astra modifique botones */
.ast-container .btn,
.entry-content .btn {
    text-decoration: none !important;
}

/* Quita padding extra de Astra en tablas */
.entry-content table {
    margin-bottom: 0;
}

/* ================================
   Responsive fino
================================= */

@media (max-width: 768px) {

    .acciones-filtro {
        justify-content: flex-start;
    }

    table.highlight td,
    table.highlight th {
        padding: 10px 12px;
    }

    .modal.modal-xl {
        width: 95%;
    }

}




/* ===== RESET NAV MATERIALIZE ===== */
nav {
  background: transparent !important;
  box-shadow: none !important;
}

nav ul a {
  color: #ffffff !important;
}

/* Evitar que materialize cambie contenedores */
.container {
  width: 100% !important;
  max-width: 1200px;
}


/* ===== HEADER CORPORATIVO ===== */
.ast-primary-header-bar {
  background-color: #403089 !important;
  border-bottom: 1px solid rgba(14, 253, 248, 0.2);
}

.ast-primary-header-bar a {
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ast-primary-header-bar a:hover {
  color: #0EFDF8 !important;
}

/* Botón activo */
.current-menu-item > a {
  color: #0EFDF8 !important;
}

.ast-primary-header-bar {
  backdrop-filter: blur(8px);
}

.ast-primary-header-bar {
  position: sticky;
  top: 0;
  z-index: 999;
}

.blue-btn {
    background-color: #403089 !important;
}

.material-icons{
    color: #403089;
}

.elementor-button,
button,
.btn {
  background-color: #0EFDF8 !important;
  color: #111827 !important;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.elementor-button:hover,
button:hover,
.btn:hover {
  background-color: #ffffff !important;
  color: #403089 !important;
}

input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly])
 {
    border-bottom: 1px solid #0EFDF8 !important;
    -webkit-box-shadow: 0 1px 0 0 #0EFDF8 !important;
    box-shadow: 0 1px 0 0 #0EFDF8 !important;
}

.input-field .prefix.active {
    color: #0EFDF8 !important;
}


/*
ULTIMATE-MEMBERS
*/

/* ===== CONTENEDOR FORM ===== */
.um {
    background: #1a1a2e;
    padding: 40px;
    border-radius: 14px;
    border: 1px solid rgba(14,253,248,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Labels */
.um-form label {
    color: #ffffff !important;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Inputs */
.um-form input[type="text"],
.um-form input[type="password"],
.um-form input[type="email"],
.um-form textarea {
    background: #0f0f1a !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    transition: all 0.3s ease;
}

/* Focus effect */
.um-form input:focus,
.um-form textarea:focus {
    border-color: #0EFDF8 !important;
    box-shadow: 0 0 0 2px rgba(14,253,248,0.2);
}

/* Placeholder */
.um-form input::placeholder {
    color: #a1a1aa;
}
.um .um-button {
    background: #0EFDF8 !important;
    color: #111827 !important;
    border-radius: 8px !important;
    font-weight: 600;
    padding: 14px 20px !important;
    transition: all 0.3s ease;
}

.um .um-button:hover {
    background: #ffffff !important;
    color: #403089 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14,253,248,0.4);
}
.um a {
    color: #0EFDF8 !important;
    transition: 0.3s;
}

.um a:hover {
    color: #ffffff !important;
}
/* Header perfil */
.um-profile-header {
    background: #403089 !important;
    border-radius: 14px 14px 0 0;
}

/* Nombre usuario */
.um-profile-name {
    color: #ffffff !important;
}

/* Tabs perfil */
.um-profile-nav {
    background: #1a1a2e !important;
    border-bottom: 1px solid rgba(14,253,248,0.1);
}

.um-profile-nav-item a {
    color: #a1a1aa !important;
}

.um-profile-nav-item.active a {
    color: #0EFDF8 !important;
    border-bottom: 2px solid #0EFDF8;
}

/* Contenido perfil */
.um-profile-body {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 0 0 14px 14px;
}
.um {
    max-width: 420px;
    margin: 0px auto;
}
