/* style.css */

/* Form container */
#sl-brgm-form,
#sl-brgm-peserta-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Form labels */
#sl-brgm-form label,
#sl-brgm-peserta-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Form input and select elements */
#sl-brgm-form input[type="text"],
#sl-brgm-form input[type="date"],
#sl-brgm-form input[type="number"],
#sl-brgm-form input[type="file"],
#sl-brgm-form select,
#sl-brgm-peserta-form input[type="text"],
#sl-brgm-peserta-form input[type="date"],
#sl-brgm-peserta-form input[type="number"],
#sl-brgm-peserta-form input[type="file"],
#sl-brgm-peserta-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Form submit button */
#sl-brgm-form input[type="submit"],
#sl-brgm-peserta-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 3px;
    background-color: #0073aa;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#sl-brgm-form input[type="submit"]:hover,
#sl-brgm-peserta-form input[type="submit"]:hover {
    background-color: #005177;
}

/* Loading indicator */
#loading {
    display: none;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #0073aa;
}

/* Entries table */
.sl-brgm-entries table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.sl-brgm-entries th,
.sl-brgm-entries td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.sl-brgm-entries th {
    background-color: #f9f9f9;
    font-weight: bold;
}

.sl-brgm-entries tr:nth-child(even) {
    background-color: #f2f2f2;
}

.sl-brgm-entries a {
    color: #0073aa;
    text-decoration: none;
}

.sl-brgm-entries a:hover {
    text-decoration: underline;
}

/* General fieldset styling */
fieldset {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
}

/* Legend styling */
legend {
    font-weight: bold;
    color: #333;
    padding: 0 5px;
}

/* Radio button and label styling */
fieldset div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

fieldset input[type="radio"] {
    margin-right: 5px;
}

fieldset label {
    font-size: 14px;
    color: #333;
}