/* Umum */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e9f5ff, #f9f9f9);
    margin: 0;
    padding: 0;
    color: #333;
}

/* Header */
.header {
    text-align: center;
    padding: 20px;
    background: #0c4a6e;
    color: white;
}

.header .main-title {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.header .sub-title {
    margin: 5px 0 0;
    font-size: 16px;
}

/* Container */
.form-container {
    background: white;
    margin: 20px auto;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 900px;
}

.section-title {
    margin-top: 30px;
    font-size: 20px;
    border-bottom: 2px solid #0c4a6e;
    padding-bottom: 5px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table td {
    padding: 8px;
    vertical-align: top;
}

.tulisan {
    font-weight: bold;
    color: #0c4a6e;
}

/* Input */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-top: 5px;
}

textarea {
    resize: vertical;
}

/* File upload */
.file-upload {
    margin-top: 15px;
}

.file-upload label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.file-upload input[type="file"] {
    display: block;
    margin-top: 5px;
}

/* Radio & Checkbox */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 1px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 5px;
}

/* Buttons */
.buttons {
    display: flex;
    justify-content: space-between; /* bikin tombol ke kiri dan ke kanan */
    width: 100%;
    margin-top: 20px;
}

.buttons .btn {
    padding: 12px 24px;
    font-size: 16px;
    width: auto; /* supaya panjang sesuai isi */
}


.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
}

.btn-submit {
    background-color: #0c4a6e;
    color: white;
}

.btn-submit:hover {
    background-color: #075985;
}

.btn-cancel {
    background-color: #f87171;
    color: white;
}

.btn-cancel:hover {
    background-color: #ef4444;
}

a {
    color: #0c4a6e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* role */
.selector-container { 
    margin: 20px auto; 
    text-align: center; 
}

select.role-selector { 
    padding: 8px 16px; 
    font-size: 16px; 
}

/* Terms */
.terms {
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
}

.terms ol {
    margin: 10px 0;
    padding-left: 20px;
}

.terms li {
    margin-bottom: 5px;
}

/* Error list */
ul {
    list-style: none;
    padding: 0;
    margin: 10px auto;
    max-width: 600px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 6px;
}

ul li {
    padding: 5px 10px;
}
