/*
|--------------------------------------------------------------------------
| Core Site CSS
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(1100px, calc(100% - 30px));
    margin: 0 auto;
}

.site-header {
    background: #2c3e50;
    color: #fff;
    padding: 30px 0;
}

.site-header h1 {
    margin: 0 0 8px;
}

.site-header p {
    margin: 0;
    opacity: 0.8;
}

.diagnostic {
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.diagnostic h2 {
    margin-top: 0;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.status-row:last-child {
    border-bottom: 0;
}

.success {
    color: #16803c;
}

.error {
    color: #b42318;
}

.success-box,
.error-box {
    margin-top: 25px;
    padding: 18px;
    border-radius: 6px;
}

.success-box {
    background: #eaf7ef;
    border: 1px solid #b8e2c7;
}

.error-box {
    background: #fcebea;
    border: 1px solid #f1b8b5;
}

.module-list {
    margin-top: 30px;
}

.module-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

@media (max-width: 600px) {

    .status-row,
    .module-row {
        flex-direction: column;
        gap: 5px;
    }

    .diagnostic {
        padding: 18px;
    }
}