:root {
    --green: #2dba4e;
    --yellow: #e0b900;
    --red: #d64545;
    --bg: #f4f6fb;
    --text: #2c3e50;
    --muted: #6c7a89;
    --border: #dce0eb;
    --table-header: #eef1f8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

header {
    background: #1d3f72;
    color: #fff;
    padding: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

header h1 {
    margin: 0 0 16px 0;
    font-size: 2rem;
}

.domain-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.domain-form label {
    font-weight: bold;
}

.domain-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
}

.domain-form button {
    background: #1abc9c;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.domain-form button:hover {
    background: #17a589;
}

.intro {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.85);
}

main {
    padding: 24px 0 140px 0;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.alert.error {
    background: rgba(214, 69, 69, 0.15);
    color: var(--red);
    border: 1px solid rgba(214, 69, 69, 0.4);
}

.summary h2 {
    margin-bottom: 4px;
}

.summary p {
    margin-top: 0;
    color: var(--muted);
}

.report-section {
    margin-top: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(31, 45, 61, 0.1);
    overflow: hidden;
}

.report-section:last-of-type {
    margin-bottom: 32px;
}

.section-title {
    margin: 0;
    padding: 14px 16px;
    background: var(--table-header);
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
}

.section-title.status-ok {
    border-left: 6px solid var(--green);
}

.section-title.status-warning {
    border-left: 6px solid var(--yellow);
}

.section-title.status-error {
    border-left: 6px solid var(--red);
}

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

thead th {
    background: var(--table-header);
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

tbody td.details {
    white-space: pre-line;
}

tbody tr.status-ok td {
    background: rgba(45, 186, 78, 0.08);
}

tbody tr.status-warning td {
    background: rgba(224, 185, 0, 0.1);
}

tbody tr.status-error td {
    background: rgba(214, 69, 69, 0.1);
}

.placeholder {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(31, 45, 61, 0.1);
    color: var(--muted);
    text-align: center;
}

footer {
    background: #1d3f72;
    color: rgba(255, 255, 255, 0.85);
    padding: 16px 0;
    text-align: center;
}

.seo-copy {
    margin-top: 40px;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(31, 45, 61, 0.08);
    line-height: 1.6;
}
.seo-copy:last-of-type {
    margin-bottom: 48px;
}

.seo-copy h2 {
    margin-top: 0;
}

@media (max-width: 600px) {
    .domain-form {
        flex-direction: column;
        align-items: stretch;
    }

    .domain-form button {
        width: 100%;
    }
}
