/* Estilos reutilizables y uniformes para Eneon */

.dashboard-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.dashboard-title-gradient {
    background: linear-gradient(90deg, #6c757d 0%, #343a40 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.dashboard-searchbar {
    max-width: 700px;
    margin: 0 auto 2rem auto;
}
.search-box-modern.big-search-box {
    box-shadow: 0 4px 24px rgba(52,58,64,0.12);
    border-radius: 40px;
    background: #f8f9fa;
    padding: 0.5rem 2rem;
    min-height: 32px;
    display: flex;
    align-items: center;
}
.search-input-big {
    border-radius: 40px !important;
    font-size: 1.35rem;
    background: #fff;
    border: none;
    box-shadow: none;
    padding: 1rem 2rem;
    width: 100%;
}
.search-icon-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -40px;
    margin-right: 8px;
    color: #343a40;
    background: none;
    z-index: 2;
}
/* Reusable card styles (individual card selectors defined later to allow tweaks) */
/* Info group uniformity */
.info-group {
    margin-bottom: 0.6rem;
}
.info-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
    display: block;
}
.info-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    padding: 0px 0px 0px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

.box-shadow-search {
    border-radius: 20px !important;
    box-shadow: 1px -3px 21px 3px !important;
}
/* Text Gradient */
.text-gradient {
    background: linear-gradient(90deg, #0d6efd, #1d3557);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Search Box */
.search-box { min-width: 260px; max-width: 400px; margin-left: 250px; }

/* Modern Accordion Styles */
.dashboard-accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0;
}

.modern-accordion-item {
    margin-bottom: 1.5rem;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    background: white;
}

.modern-accordion-header .accordion-button {
    border: none !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 500;
    font-size: 1rem;
    box-shadow: none !important;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.modern-accordion-header .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #575A4F 0%, #454842 100%);
    color: white;
}

.modern-accordion-header .accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem;
}

.modern-accordion-body {
    padding: 0.2rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

/* Accordion Icons */
.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(87,90,79,0.1);
    color: #575A4F;
}

.modern-accordion-header .accordion-button:not(.collapsed) .accordion-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Add Button */
.add-btn {
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.4);
}

/* Data Cards */
.data-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
}

.data-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Punto Cards */
.punto-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    background: white;
}

.punto-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-bottom: 1px solid #e3f2fd;
    padding: 1rem 1.5rem;
}

/* CUPS Sections */
.cups-section {
    padding: 1rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.cups-grid {
    display: grid;
    /* cajas más compactas: ancho mínimo reducido */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
}

.cups-item {
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.cups-item:hover {
    border-color: #0d6efd;
    box-shadow: 0 1px 6px rgba(13,110,253,0.12);
}

.cups-code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2c3e50;
}

.empty-cups {
    padding: 1.5rem;
    text-align: center;
    background: white;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Cuenta Cards */
.cuenta-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
    border-left: 4px solid #28a745;
}

.cuenta-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: #fafafa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.empty-dashboard {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

/* Gas Icon */
.gas-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

/* Transitions */
.dashboard-accordion .collapse,
.dashboard-accordion .collapsing {
    transition: height 0.35s cubic-bezier(0.4,0.0,0.2,1);
}

/* Responsive */
@media (max-width: 768px) {
    .modern-accordion-header .accordion-button {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .modern-accordion-body {
        padding: 0.5rem;
    }

    .cups-grid {
        grid-template-columns: 1fr;
    }

    .add-btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}
