﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

sim-sla-body {
    background: linear-gradient(145deg, #f6f9fc 0%, #eef2f5 100%);
    font-family: 'Inter', sans-serif;
    padding: 2rem 1.5rem;
    color: #1a2c3e;
}

/* main container with max-width and breathing space */
.sim-sla-container {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.2s ease;
}

/* header section — premium gradient */
.sim-sla-header {
    background: linear-gradient(135deg, #0B2B3F 0%, #1B4F6E 100%);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    color: white;
    position: relative;
}

.sim-sla-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.2);
}

.sim-sla-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.sim-sla-header-sub {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 75%;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

    .sim-sla-header-sub h2 {
        font-size: 1.6rem;
        font-weight: 500;
        color: #cfd8dc;
        letter-spacing: -0.02em;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

.sim-sla-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

    .sim-sla-meta span i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

/* main content */
.sim-sla-content {
    padding: 2.5rem;
}

/* key metrics row (cards) */
.sim-sla-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: space-between;
}

.sim-sla-metric-card {
    flex: 1;
    min-width: 180px;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9edf2;
    transition: transform 0.2s ease, box-shadow 0.2s;
}

    .sim-sla-metric-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
        border-color: #cbdde9;
    }

.sim-sla-metric-icon {
    font-size: 2.2rem;
    color: #1B5E7A;
    margin-bottom: 1rem;
}

.sim-sla-metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0F2E3B;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.sim-sla-metric-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #4a627a;
    margin-top: 0.5rem;
}

/* section styling */
.sim-sla-section {
    margin-bottom: 2.8rem;
}

.sim-sla-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #153e54;
    margin-bottom: 1.5rem;
    border-left: 5px solid #2D8FAD;
    padding-left: 1rem;
}

    .sim-sla-section-title i {
        color: #2D8FAD;
        font-size: 1.4rem;
    }

.sim-sla-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.sim-sla-card {
    background: #fefefe;
    border-radius: 1.25rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid #eef2f8;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

    .sim-sla-card h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: #1f5068;
    }

    .sim-sla-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #2c4258;
    }

.sim-sla-badge {
    background: #EFF7FA;
    color: #136B8D;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.8rem;
}

.sim-sla-data {
    display: flex;
    flex-direction:row;
}

.sim-sla-data-label {
    width: 150px;
    font-weight: bold;
    padding: 1px;
    margin-left: 15px;
}



/* responsibility table alternative */
.sim-sla-table-wrapper {
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
}

.sim-sla-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .sim-sla-table th {
        text-align: left;
        padding: 1rem 1.2rem;
        background-color: #F8FAFE;
        font-weight: 600;
        color: #1B4F6E;
        border-bottom: 1px solid #e2edf2;
    }

    .sim-sla-table td {
        padding: 1rem 1.2rem;
        border-bottom: 1px solid #eff3f8;
        color: #2d4a6e;
    }

    .sim-sla-table tr:last-child td {
        border-bottom: none;
    }

.sim-sla-icon-check {
    color: #2C9B6E;
    margin-right: 0.5rem;
}

.sim-sla-footer {
    background: #F9FCFE;
    padding: 1.8rem 2.5rem;
    border-top: 1px solid #e2edf2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sim-sla-signature {
    font-size: 0.85rem;
    color: #456e86;
}

.sim-sla-button {
    background: transparent;
    border: 1px solid #2D8FAD;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    color: #1B5fff;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    font-size: 0.85rem;
}

    .sim-sla-button:hover {
        background: #e5f2f7;
        border-color: #197190;
    }

@media (max-width: 750px) {
    .sim-sla-header h1 {
        font-size: 1.9rem;
    }

    .sim-sla-header-sub {
        max-width: 100%;
    }

    .sim-sla-content {
        padding: 1.8rem;
    }

    .sim-sla-metrics {
        flex-direction: column;
    }

    .sim-sla-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* additional polish */
.sim-sla-highlight {
    background: linear-gradient(120deg, #eef9ff 0%, #ffffff 80%);
}

hr {
    margin: 1rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #cbdde9, transparent);
}
