/* ==================================================
   BRIDGE OPERATIONS DASHBOARD
================================================== */

.bridge-dashboard-shell{
    max-width:1400px;
    margin:0 auto;
    padding:80px 20px;
}

/* ==================================================
   HERO
================================================== */

.bridge-dashboard-hero{
    background:#fff;
    border:1px solid #dfe8ef;
    border-radius:28px;
    padding:48px;
    margin-bottom:32px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.bridge-dashboard-hero h1{
    font-size:4rem;
    line-height:1;
    margin:0 0 16px;
    color:#0b3558;
    font-weight:800;
}

.bridge-dashboard-hero p{
    max-width:800px;
    color:#475569;
}


/* ==================================================
   OPERATIONAL HEALTH
================================================== */

.bridge-health-card{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:32px;

    background:linear-gradient(
        135deg,
        #051b3b,
        #0b3558
    );

    color:#fff;

    border-radius:28px;
    padding:40px;
    margin-bottom:32px;

    box-shadow:0 16px 40px rgba(15,23,42,.15);
}

.bridge-health-percent{
    font-size:5rem;
    line-height:1;
    font-weight:800;
    margin:12px 0;
}

.bridge-health-score p{
    color:rgba(255,255,255,.75);
    margin:0;
}

.bridge-health-metrics{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.bridge-health-metrics div{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);

    border-radius:18px;
    padding:24px;
}

.bridge-health-metrics strong{
    display:block;
    font-size:2rem;
    line-height:1;
    margin-bottom:8px;
    color:#fff;
}

.bridge-health-metrics span{
    color:rgba(255,255,255,.75);
    font-size:.9rem;
}

.bridge-stat-card {
    position: relative;
    overflow: hidden;
}

.bridge-stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.bridge-stat-card--pending::before {
    background: #f59e0b;
}

.bridge-stat-card--approved::before {
    background: #22c55e;
}

.bridge-stat-card--progress::before {
    background: #2563eb;
}

.bridge-stat-card--completed::before {
    background: #0f172a;
}

/* ==================================================
   KPI ROW
================================================== */

.bridge-kpi-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    margin-bottom:32px;
}

.bridge-kpi-card{
    background:#fff;
    border:1px solid #dfe8ef;
    border-radius:20px;
    padding:24px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
    position: relative;
    overflow: hidden;
}

.bridge-kpi-card span{
    display:block;
    margin-bottom:10px;
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#64748b;
    font-weight:700;
}

.bridge-kpi-card strong{
    display:block;
    font-size:3rem;
    line-height:1;
    color:#0b3558;
    font-weight:800;
}

.bridge-kpi-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.bridge-kpi-card--total::before {
    background: #64748b;
}

.bridge-kpi-card--pending::before {
    background: #f59e0b;
}

.bridge-kpi-card--approved::before {
    background: #22c55e;
}

.bridge-kpi-card--progress::before {
    background: #2563eb;
}

.bridge-kpi-card--completed::before {
    background: #0f172a;
}

.bridge-kpi-card--pending {
    background: rgba(245, 158, 11, .03);
}

.bridge-kpi-card--approved {
    background: rgba(34, 197, 94, .03);
}

.bridge-kpi-card--progress {
    background: rgba(37, 99, 235, .03);
}

/* ==================================================
   DASHBOARD GRID
================================================== */

.bridge-dashboard-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    margin-bottom:32px;
}

/* ==================================================
   CARDS
================================================== */

.bridge-dashboard-card{
    background:#fff;
    border:1px solid #dfe8ef;
    border-radius:28px;
    padding:32px;
    margin-bottom:32px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.bridge-dashboard-card h2{
    font-size:2.5rem;
    line-height:1.1;
    color:#0b3558;
    margin-bottom:24px;
}

/* ==================================================
   SYSTEM STATUS
================================================== */

.bridge-system-status{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.bridge-system-status div{
    background:#f7fafc;
    border-radius:16px;
    padding:20px;
}

.bridge-system-status strong{
    display:block;
    color:#0b3558;
    margin-bottom:6px;
}

.bridge-system-status span{
    color:#64748b;
    font-size:.9rem;
}

.bridge-system-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
}

.bridge-system-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(37,99,235,.08);
    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1rem;
}

.bridge-system-icon i {
    font-size: 1.1rem;
}

.bridge-status {
    display:inline-flex;
    align-items:center;
    padding:.35rem .75rem;
    border-radius:999px;
    font-size:.75rem;
    font-weight:600;
}

.bridge-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: .45rem;
    background: currentColor;
}

.bridge-status--pending {
    background:#fef3c7;
    color:#92400e;
}

.bridge-status--approved {
    background:#dcfce7;
    color:#166534;
}

.bridge-status--progress {
    background:#dbeafe;
    color:#1d4ed8;
}

.bridge-status--scheduled {
    background:#e5e7eb;
    color:#374151;
}

/* Dashboard-specific status badges override global component status */
.bridge-dashboard-table .bridge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.bridge-dashboard-table .bridge-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: .45rem;
    background: currentColor;
}

.bridge-dashboard-table .bridge-status.bridge-status--pending {
    background: #fef3c7;
    color: #92400e;
}

.bridge-dashboard-table .bridge-status.bridge-status--approved {
    background: #dcfce7;
    color: #166534;
}

.bridge-dashboard-table .bridge-status.bridge-status--progress {
    background: #dbeafe;
    color: #1d4ed8;
}

.bridge-dashboard-table .bridge-status.bridge-status--scheduled {
    background: #e5e7eb;
    color: #374151;
}

/* ==================================================
   ALERTS
================================================== */

.bridge-alert-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.bridge-alert-list div{
    background:#fff8eb;
    border-left:4px solid #f59e0b;
    padding:18px;
    border-radius:12px;
}

.bridge-alert-list strong{
    display:block;
    color:#0b3558;
    margin-bottom:4px;
}

.bridge-alert-list span{
    color:#64748b;
}

/* ==================================================
   TABLE
================================================== */

.bridge-dashboard-table{
    width:100%;
    border-collapse:collapse;
}

.bridge-dashboard-table th{
    text-align:left;
    padding:16px;
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#64748b;
    border-bottom:1px solid #e5edf3;
}

.bridge-dashboard-table td{
    padding:16px;
    border-bottom:1px solid #eef3f7;
}

.bridge-dashboard-table tbody tr:hover{
    background:#f8fafc;
}

/* ==================================================
   UPCOMING EVENTS
================================================== */

.bridge-upcoming-events{
    display:grid;
    gap:16px;
    margin-top:24px;
}

.bridge-upcoming-events div{
    background:#f7fafc;
    border-radius:16px;
    padding:18px;
}

.bridge-upcoming-events strong{
    display:block;
    color:#0b3558;
    margin-bottom:6px;
}

.bridge-upcoming-events span{
    color:#64748b;
}


/* ==================================================
   TIMELINE
================================================== */

.bridge-timeline{
    position:relative;
    margin-top:2rem;
}

.bridge-timeline::before{
    content:'';
    position:absolute;
    left:15px;
    top:0;
    bottom:0;
    width:2px;
    background:#dbe4ee;
}

.bridge-timeline-item{
    position:relative;
    display:flex;
    gap:1.5rem;
    padding-bottom:2rem;
}

.bridge-timeline-dot{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#fff;
    border:3px solid #cbd5e1;
    flex-shrink:0;
    position:relative;
    z-index:2;
}

.bridge-timeline-content{
    padding-top:2px;
}

.bridge-timeline-time{
    display:block;
    font-size:.8rem;
    font-weight:700;
    color:#64748b;
    margin-bottom:.35rem;
}

.bridge-timeline-content strong{
    display:block;
    color:#0b3558;
    margin-bottom:.25rem;
}

.bridge-timeline-content p{
    margin:0;
    color:#64748b;
}

.bridge-timeline-item.complete .bridge-timeline-dot{
    background:#22c55e;
    border-color:#22c55e;
}

.bridge-timeline-item.active .bridge-timeline-dot{
    background:#2563eb;
    border-color:#2563eb;
    box-shadow:0 0 0 8px rgba(37,99,235,.15);
}


/* ==================================================
   ROOM AVAILABILITY
================================================== */

.bridge-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bridge-card-header-row p:last-child {
    max-width: 760px;
    color: #64748b;
    margin-bottom: 0;
}

.bridge-room-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.bridge-room-metric {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
}

.bridge-room-metric strong {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    color: #0b3558;
    margin-bottom: .5rem;
}

.bridge-room-metric span {
    color: #64748b;
    font-weight: 700;
    font-size: .85rem;
}

.bridge-room-list {
    display: grid;
    gap: 12px;
}

.bridge-room-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
}

.bridge-room-row strong {
    display: block;
    color: #0b3558;
    margin-bottom: .25rem;
}

.bridge-room-row span:not(.bridge-status) {
    color: #64748b;
    font-size: .9rem;
}



/* ==================================================
   BRIDGE COORDINATION PIPELINE
================================================== */

.bridge-pipeline-card {
    overflow: hidden;
}

.bridge-pipeline-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bridge-pipeline-header-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bridge-pipeline-header h2 {
    margin: 0;
}

.bridge-pipeline-description {
    max-width: 760px;
    color: #64748b;
    margin: 0;
}

.bridge-future-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin:0;
    border-radius: 999px;
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding:.35rem .75rem;
    font-size:.68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;

    width: fit-content;
}

.bridge-future-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}


.bridge-section-header h2 {
    margin-bottom: .75rem;
}

.bridge-section-header p:last-child {
    max-width: 760px;
    color: #64748b;
}

.bridge-pipeline-flow {
    display: flex;
    align-items: stretch;
    gap: .75rem;
}

.bridge-pipeline-step {
    flex: 1;
    min-width: 0;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;

    padding: 1.25rem .9rem;
    text-align: center;

    transition: all .2s ease;
}

.bridge-pipeline-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.bridge-step-number {
    width: 34px;
    height: 34px;

    margin: 0 auto .85rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0b3558;
    color: #fff;

    font-size: .85rem;
    font-weight: 800;
}

.bridge-pipeline-step strong {
    display: block;
    color: #0b3558;
    margin-bottom: .35rem;
    font-size: .95rem;
}

.bridge-pipeline-step small {
    color: #64748b;
    font-weight: 600;
    line-height: 1.3;
}

.bridge-pipeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;
    font-size: 1.4rem;
    font-weight: 800;

    flex: 0 0 auto;
}

.bridge-pipeline-step--success {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.bridge-pipeline-step--success .bridge-step-number {
    background: #22c55e;
}


/* ==================================================
   REQUEST JOURNEY
================================================== */

.bridge-journey-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.bridge-journey-step {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.25rem;
    min-height: 150px;
}

.bridge-journey-step span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
}

.bridge-journey-step strong {
    display: block;
    color: #0b3558;
    margin-bottom: .35rem;
}

.bridge-journey-step small {
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
}

.bridge-journey-step--complete {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.bridge-journey-step--complete span {
    background: #22c55e;
    color: #fff;
}

.bridge-journey-step--active {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.bridge-journey-step--active span {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 8px rgba(37,99,235,.12);
}


/* ==================================================
   EXECUTIVE SUMMARY
================================================== */

.bridge-executive-summary {
    background: linear-gradient(
        135deg,
        #0b3558,
        #0d4470
    );

    color: #fff;
}

.bridge-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 1.5rem;
}

.bridge-executive-summary .bridge-card-kicker {
    color: rgba(255,255,255,.65);
}

.bridge-executive-summary h2 {
    color: #fff;
    margin-bottom: 0;
}

.bridge-summary-status {
    background: rgba(34,197,94,.15);
    color: #86efac;

    border: 1px solid rgba(34,197,94,.3);

    padding: .5rem .9rem;
    border-radius: 999px;

    font-size: .85rem;
    font-weight: 700;
}

.bridge-summary-text {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    line-height: 1.8;

    margin-bottom: 2rem;
}

.bridge-summary-text strong {
    color: #fff;
}

.bridge-summary-metrics {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
}

.bridge-summary-metrics div {
    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 16px;

    padding: 1rem;
}

.bridge-summary-metrics strong {
    display: block;

    font-size: 2rem;
    font-weight: 800;

    margin-bottom: .25rem;
}

.bridge-summary-metrics span {
    color: rgba(255,255,255,.75);
    font-size: .85rem;
}

@media (max-width: 992px) {

    .bridge-summary-metrics {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 576px) {

    .bridge-summary-metrics {
        grid-template-columns: 1fr;
    }

    .bridge-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}



@media (max-width: 1200px) {
    .bridge-journey-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bridge-journey-grid {
        grid-template-columns: 1fr;
    }
}




/* Responsive pipeline */
@media (max-width: 1200px) {
    .bridge-pipeline-flow {
        flex-wrap: wrap;
    }

    .bridge-pipeline-step {
        flex: 1 1 180px;
    }

    .bridge-pipeline-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .bridge-pipeline-step {
        flex: 1 1 100%;
    }
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width:1200px){

    .bridge-kpi-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:992px){

    .bridge-dashboard-grid{
        grid-template-columns:1fr;
    }

    .bridge-system-status{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    .bridge-dashboard-hero h1{
        font-size:2.75rem;
    }

    .bridge-kpi-grid{
        grid-template-columns:1fr;
    }

}
@media (max-width:992px){

    .bridge-health-card{
        grid-template-columns:1fr;
    }

    .bridge-health-metrics{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .bridge-health-metrics{
        grid-template-columns:1fr;
    }

}

