body{

    margin:0;
    background:#f3f5f7;
    font-family:Arial,Helvetica,sans-serif;

}

.container{

    width:95%;
    max-width:1400px;
    margin:auto;
    padding:20px;

}

h1{

    margin-bottom:0;

}

.subtitle{

    color:#666;
    margin-top:5px;
    margin-bottom:30px;

}

.card{

    background:white;
    border-radius:8px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.10);

}

.grid2{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;

}

.grid4{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

}

table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    font-size:14px;
}

th{
    background:#2f5d8c;
    color:white;
    text-align:left;
    padding:8px;
}

td{
    border-bottom:1px solid #ddd;
    padding:8px;
}

th,
td{
    vertical-align:middle;
}

table th:nth-child(1),
table td:nth-child(1){
    width:60px;
    text-align:right;
}

table th:nth-child(2),
table td:nth-child(2){
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

table th:nth-child(3),
table td:nth-child(3){
    width:70px;
    text-align:right;
    white-space:nowrap;
}

h2{

    margin-top:0;

}

@media(max-width:1000px){

    .grid4{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:700px){

    .grid2,
    .grid4{

        grid-template-columns:1fr;

    }

}

/*==================================================
    CABECERA
==================================================*/

.xsa-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#1f2937;

    color:white;

    padding:20px 30px;

    border-radius:12px;

    margin-bottom:25px;

    box-shadow:0 4px 12px rgba(0,0,0,.25);

}

.xsa-header-left{

    display:flex;

    align-items:center;

    gap:20px;

}

.xsa-logo{

    height:64px;

    width:auto;

}

.xsa-title{

    font-size:34px;

    font-weight:bold;

    letter-spacing:2px;

}

.xsa-subtitle{

    font-size:18px;

    color:#d1d5db;

}

.xsa-version{

    margin-top:6px;

    font-size:13px;

    color:#9ca3af;

}

.xsa-header-right{

    text-align:right;

}

.score{

    font-size:34px;

    font-weight:bold;

}

.status{

    font-size:20px;

    font-weight:bold;

    margin-bottom:8px;

}

.status.excellent{

    color:#22c55e;

}

.status.good{

    color:#84cc16;

}

.status.warning{

    color:#f59e0b;

}

.status.critical{

    color:#ef4444;

}

/*==================================================

CARDS

==================================================*/

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:18px;

    margin-bottom:30px;

}

.metric-card{

    background:white;

    border-radius:12px;

    padding:20px;

    box-shadow:0 2px 8px rgba(0,0,0,.12);

}

.metric-title{

    color:#6b7280;

    font-size:13px;

    letter-spacing:1px;

}

.metric-value{

    margin-top:12px;

    font-size:34px;

    font-weight:bold;

}

.metric-small{

    margin-top:10px;

    color:#666;

    font-size:14px;

}

.metric-bar{

    margin-top:18px;

    height:10px;

    background:#e5e7eb;

    border-radius:20px;

    overflow:hidden;

}

.metric-fill{

    height:100%;

    background:#2563eb;

}

/*==================================================

ANALYZER

==================================================*/

.analysis-panel{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:22px;

    margin-top:30px;

}

.analysis-column{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.analysis-card{

    background:white;

    border-radius:12px;

    padding:22px;

    box-shadow:0 2px 8px rgba(0,0,0,.10);

}

.analysis-card h2{

    margin-top:0;

    margin-bottom:18px;

    font-size:20px;

    color:#374151;

}

.ok-item{

    color:#16a34a;

    margin-bottom:10px;

}

.neutral-item{

    color:#4b5563;

    margin-bottom:10px;

}

.warning-item{

    color:#d97706;

    margin-bottom:12px;

}

.recommendation-item{

    color:#2563eb;

    margin-bottom:12px;

}

.analysis-card.warning{

    border-left:5px solid #f59e0b;

}