body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f7f4ec;
    color: #000000;
    margin: 0;
    padding: 15px;
    font-size: 22px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 36px;
    color: #111111;
    margin-top: 0;
    border-bottom: 3px solid #1857b0;
    padding-bottom: 10px;
}

h2,
h3 {
    color: #222222;
    font-size: 28px;
}

.card {
    border: 3px solid #cccccc;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    background-color: #ffffff;
}

.btn {
    display: block;
    width: 100%;
    padding: 20px;
    background-color: #1857b0;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 26px;
    font-weight: bold;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-family: inherit;
    line-height: inherit;
}

input[type="number"],
input[type="text"],
select {
    width: 100%;
    font-size: 24px;
    padding: 15px;
    margin-top: 8px;
    margin-bottom: 25px;
    border: 3px solid #555555;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #000000;
    font-family: inherit;
}

input:focus,
select:focus {
    outline: 4px solid #1857b0;
    border-color: #1857b0;
}

.warning-box {
    border: 4px solid #cc0000;
    background-color: #fff0f0;
    padding: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    border-radius: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.form-col {
    flex: 1;
}

.names-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: #ffffff;
    font-size: 20px;
}

.names-table th,
.names-table td {
    border: 3px solid #cccccc;
    padding: 12px;
    text-align: center;
}

.names-table th {
    background-color: #1857b0;
    color: white;
}

/* felugro ablakok dizajnolasa */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background-color: #ffffff;
    border: 3px solid #1857b0;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-box p {
    font-size: 24px;
    margin-bottom: 25px;
    color: #222222;
}

.modal-box input {
    margin-bottom: 25px;
    text-align: center;
    font-size: 25px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
}

.modal-btn {
    flex: 1;
    padding: 15px;
    font-size: 22px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
}

.modal-btn-primary {
    background-color: #1857b0;
}

.modal-btn-danger {
    background-color: #cc0000;
}

.modal-btn-secondary {
    background-color: #555555;
}