:root {
    --background: #f3f5f8;
    --surface: #ffffff;
    --border: #dfe4ea;
    --text: #202936;
    --muted: #687483;

    --ok: #198754;
    --warning: #fd7e14;
    --alert: #dc3545;

    --shadow: 0 4px 14px rgba(31,41,55,.07);
    --radius: 10px;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:22px;
    background:var(--background);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
}

.container{
    max-width:1700px;
    margin:auto;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:22px;
}

.title{
    margin:0;
    font-size:30px;
}

.subtitle{
    margin-top:6px;
    color:var(--muted);
    font-size:14px;
}

.navigation{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.navigation a{
    text-decoration:none;
    color:#0d6efd;
    background:#fff;
    border:1px solid var(--border);
    border-radius:7px;
    padding:9px 13px;
    font-size:13px;
}

.navigation a:hover{
    background:#f8fafc;
}

.section{
    margin-bottom:28px;
}

.section h2{
    margin:0 0 10px;
    font-size:20px;
}

.panel{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
}

th{
    text-align:left;
    padding:11px 13px;
    font-size:11px;
    text-transform:uppercase;
    color:var(--muted);
    border-bottom:1px solid #edf0f3;
}

td{
    padding:11px 13px;
    font-size:13px;
    border-bottom:1px solid #edf0f3;
    vertical-align:top;
}

tr:last-child td{
    border-bottom:none;
}

.badge{
    display:inline-block;
    padding:3px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:bold;
}

.badge-alert{
    background:#fdebed;
    color:var(--alert);
}

.badge-ok{
    background:#e6f5ec;
    color:var(--ok);
}

.badge-warning{
    background:#fff0e3;
    color:var(--warning);
}

.empty{
    padding:30px;
    text-align:center;
    color:var(--muted);
}

.application-footer{
    margin-top:26px;
    padding-top:16px;
    border-top:1px solid var(--border);
    color:var(--muted);
    font-size:12px;
    text-align:center;
}

@media(max-width:700px){

    body{
        padding:12px;
    }

    .header{
        flex-direction:column;
    }

}

.button{
    appearance:none;
    -webkit-appearance:none;

    display:inline-block;

    padding:3px 9px;

    border-radius:999px;

    font-size:11px;
    font-weight:bold;

    background:#fff0e3;
    color:var(--warning);

    border:1px solid #f2c48d;

    cursor:pointer;

    transition:.15s;
}

.button:hover{
    background:#ffe8d1;
    border-color:#e2a85d;
}

.button:active{
    transform:scale(.97);
}
