body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

header h1 {
    margin: 0;
    color: #2c3e50;
}

nav {
    margin-top: 15px;
}

nav a {
    text-decoration: none;
    color: #3498db;
    padding: 8px 12px;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #ecf0f1;
}



input[type="text"] {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button, .delete-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
    margin-top: 10px;
}

button:hover, .delete-btn:hover {
    background-color: #2980b9;
}

.delete-btn {
    background-color: #e74c3c;
    padding: 5px 10px;
    font-size: 0.8rem;
    margin: 0;
}

.delete-btn:hover {
    background-color: #c0392b;
}

#status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}
#status-message:not(:empty) {
    display: block;
}
#status-message.error { background-color: #fbeae5; color: #c0392b; }
#status-message.info { background-color: #eaf5fb; color: #2980b9; }

/* Lista oldal */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f2f2f2;
}
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}
tr.status-fut .status-badge { background-color: #2ecc71; }
tr.status-befejezve .status-badge { background-color: #95a5a6; }
tr.status-stale .status-badge { background-color: #f39c12; }

tr.status-befejezve {
    color: #7f8c8d;
    background-color: #f8f9f9;
}

/* Tesztelő oldal */
.test-running {
    text-align: center;
    padding: 40px;
    border: 2px dashed #3498db;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.spinner {
    margin: 20px auto;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---- test.html kiegészítések ---- */
#timer {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 10px 0;
    font-family: 'Courier New', Courier, monospace;
}

#status-line {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.status-ok {
    color: #27ae60;
    font-weight: bold;
}

.status-error {
    color: #e74c3c;
    font-weight: bold;
}

/* Piros keret hiba esetén a fő containeren */
.container.connection-error {
    border: 3px solid #e74c3c;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}


/* ---- index.html kiegészítések (gombok és prompt) ---- */
.hidden {
    display: none;
}

#action-prompt p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    background-color: #eaf5fb;
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid #3498db;
    color: #2c3e50;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.button-group button {
    margin-top: 0;
}

.btn-secondary { background-color: #2ecc71; }
.btn-secondary:hover { background-color: #27ae60; }
.btn-warning { background-color: #f39c12; }
.btn-warning:hover { background-color: #e67e22; }
.btn-tertiary { background-color: #95a5a6; }
.btn-tertiary:hover { background-color: #7f8c8d; }

