/* ============================================
   CLD Module - Estilos específicos
   ============================================ */

:root {
    --cld-primary: #4361ee;
    --cld-primary-dark: #3a56d4;
    --cld-primary-light: #eef2ff;
    --cld-secondary: #f8f9fa;
    --cld-success: #06d6a0;
    --cld-warning: #ffb703;
    --cld-danger: #ef476f;
    --cld-info: #118ab2;
    --cld-text-primary: #2b2d42;
    --cld-text-secondary: #6c757d;
    --cld-border: #e9ecef;
}

/* Header Gradient */
.content-header.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.content-header.bg-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9Ii4wNSIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTAgMGgxNDQwdjQwMEgweiIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.breadcrumb .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.2s ease;
}

.breadcrumb .text-white-50:hover {
    color: white !important;
}

/* Stats Cards */
.small-box {
    border-radius: 12px;
    box-shadow: var(--cld-shadow-md, 0 4px 6px rgba(0,0,0,0.05));
    transition: all 0.2s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

.small-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--cld-shadow-lg, 0 10px 15px rgba(0,0,0,0.05));
}

.small-box .icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.small-box:hover .icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(255, 255, 255, 0.3);
}

/* Tabla específica CLD */
#tblCld {
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: -8px;
}

#tblCld thead th {
    background: var(--cld-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border: none;
}

#tblCld tbody tr {
    background: white;
    border-radius: 12px;
    box-shadow: var(--cld-shadow-sm, 0 2px 4px rgba(0,0,0,0.02));
    transition: all 0.2s ease;
}

.station-name {
    font-weight: 600;
    color: var(--cld-text-primary);
    font-size: 1rem;
}

.station-address {
    color: var(--cld-text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Botones específicos CLD */
.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06d6a0, #0496c0);
    color: white;
    transition: all 0.2s ease;
}

.btn-map:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
    box-shadow: 0 6px 12px rgba(6, 214, 160, 0.3);
}

/* Agregar al final de tu archivo CSS principal */
.nav-link#edit-tab.active {
    display: block !important;
    background-color: #007bff;
    color: white;
}

.tab-pane#edit.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
}