body {
    /* Alap sötét háttér, lágy színmélységgel */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212; 
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    padding: 30px 20px;
    font-size: 15px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    background: #1e1e1e; /* Kontrasztosabb sötét háttér a tartalomnak */
    padding: 35px;
    border-radius: 16px;
    /* Mély, elegáns árnyék */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
}

/* Címsorok és tipográfia */
h1 {
    color: #4a90e2; 
    text-align: center;
    border-bottom: 2px solid #333333;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 2.4em;
    font-weight: 300;
}

h2 {
    color: #a0a0a0;
    margin-top: 35px;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-left: 6px solid #4a90e2;
    padding-left: 15px;
    font-weight: 500;
}

/* URL űrlap és gombok */
form {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    padding: 25px;
    border: 1px solid #333333;
    border-radius: 10px;
    background: #252525; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

input[type="text"] {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 16px;
    background-color: #333; 
    color: #f0f0f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

button[type="submit"] {
    background-color: #00bcd4; /* Türkiz akció gomb */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

button[type="submit"]:hover {
    background-color: #0097a7;
    transform: translateY(-1px);
}

/* Összefoglaló Kártya (Summary Box) */
.summary-box {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    border: 1px solid #333333;
    border-radius: 12px;
    background: #252525;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.score-card {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 20px auto;
    font-size: 3em;
    font-weight: 600;
    color: white;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Állapot színek */
.score-card.pass { background-color: #4CAF50; } /* Zöld */
.score-card.warning { background-color: #FFC107; color: #333; } /* Sárga */
.score-card.fail { background-color: #F44336; } /* Piros */
.score-card.info { background-color: #03A9F4; } /* Kék */

.summary-box p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #a0a0a0;
}
.summary-box strong {
    color: #ffffff;
}

/* Kategória Fejlécek (A kártya bevezetője) */
h3.category-header {
    background: #1e1e1e;
    padding: 15px 0;
    margin-top: 40px;
    border-bottom: 1px solid #333;
    color: #00bcd4; 
    font-size: 1.5em;
    font-weight: 500;
}

/* Eredmény Kártyák (Result Item - Fő ergonómiai elem) */
.result-item {
    /* Az "ablak" / "keret" */
    border: 1px solid #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #252525; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.result-item:hover {
    background-color: #2a2a2a;
}

/* Kiemelés színek a kártya bal oldalán */
.result-item.pass { border-left: 8px solid #4CAF50; }
.result-item.warning { border-left: 8px solid #FFC107; }
.result-item.fail { border-left: 8px solid #F44336; }
.result-item.info { border-left: 8px solid #03A9F4; }

.result-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    cursor: pointer;
}

.result-summary .icon {
    font-size: 2em;
    line-height: 1;
}

.result-summary .name {
    flex-grow: 1;
    font-size: 1.2em;
    color: #f0f0f0;
}

.result-summary .message {
    font-style: italic;
    color: #a0a0a0;
    font-size: 1em;
    flex-shrink: 0;
    width: 30%; /* Fix szélesség a jobb elrendezéshez */
}

/* Részletek szekció (A lenyitható tartalom) */
.result-details {
    display: none;
    background: #2f2f2f;
    border-top: 1px solid #3d3d3d;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.result-details h4 {
    margin-top: 0;
    color: #03A9F4; /* Kék a kiemeléshez */
    border-bottom: 1px dashed #444;
    padding-bottom: 5px;
    font-size: 1.3em;
    font-weight: 500;
}

.result-details ul, .result-details ol {
    padding-left: 20px;
    margin-top: 10px;
    color: #d0d0d0;
    list-style-type: none; /* Alap listajel eltávolítása */
}
.result-details li {
    margin-bottom: 8px;
    padding-left: 10px;
    position: relative;
}
.result-details li::before {
    content: "•";
    color: #00bcd4; /* Türkiz listajel */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.result-details li strong {
    color: #ffffff;
}

/* Kód blokk stílusa */
.result-details pre {
    background: #0d0d0d; /* Nagyon sötét háttér a kódnak */
    color: #e6db74; /* Lágy sárgás kód kiemelés */
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.9em;
    border: 1px solid #444;
}
.result-details h5 {
    color: #a0a0a0;
    margin-top: 15px;
    font-weight: 400;
}

/* Részletek/Javítás gomb */
.toggle-details {
    background: #607d8b; /* Kékesszürke */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
    white-space: nowrap;
}
.toggle-details:hover {
    background-color: #546e7a;
}

/* Hibaüzenet doboz */
.error-box {
    background-color: #3b2024;
    color: #f5c6cb;
    border: 1px solid #721c24;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.error-box h2 {
    color: #F44336;
    border: none;
}