
/* Modern Policyd WebUI CSS */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

#maintable {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#header {
    background: #1a1a1a;
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
}

#menu {
    background-color: #222;
    color: white;
    min-width: 200px;
    padding: 1rem;
    height: 100%;
}

#menu p {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

#menu ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

#menu li {
    margin-bottom: 0.5rem;
}

#menu a {
    color: #66cc66;
    text-decoration: none;
}

#menu a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.content {
    background-color: white;
    padding: 2rem;
    max-width: 960px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pageheader {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.results {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.results th, .results td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: center;
}

.results th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.textcenter {
    text-align: center;
}

@media (max-width: 768px) {
    #maintable {
        flex-direction: column;
        align-items: center;
    }

    #menu {
        width: 100%;
        text-align: center;
    }

    .content {
        width: 100%;
    }
}

/* --- Középre igazítás a tartalomhoz --- */
.content table {
    margin: 0 auto;
}

.content form {
    text-align: center;
}

.results {
    margin-left: auto;
    margin-right: auto;
}

#main_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#main_form select {
    margin-bottom: 10px;
}

td.content {
    text-align: center;
}
