/* ===== Reset dan Global Style ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #20B2AA;
    color: #FFEB3B;
    line-height: 1.6;
    padding: 20px;
}

/* ===== Headings ===== */
h1, h2, h3, h4, h5 {
    color: #FFEB3B;
    margin-bottom: 15px;
}

/* ===== Paragraf dan Text ===== */
p, label, span, small {
    color: #FFEB3B;
}

/* ===== Container Style ===== */
.container,
.form-container,
.detail-container,
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #2A5A6D;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #D0D0D0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logo-img {
    max-width: 80px;
    height: auto;
}

/* ===== Form ===== */
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    background-color: #E0F2F7;
    color: #2A5A6D;
}

input::placeholder,
textarea::placeholder {
    color: #2A5A6D;
}

/* ===== Tombol ===== */
button,
.btn,
.btn-survey {
    display: inline-block;
    background-color: #FFEB3B;
    color: #2A5A6D;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

button:hover,
.btn:hover,
.btn-survey:hover {
    background-color: #E0F2F7;
    color: #2A5A6D;
}

@media (max-width: 600px) {
    .btn,
    .btn-survey,
    button {
        width: 100%;
        font-size: 18px;
        padding: 14px;
    }
}

/* ===== Antrean Box ===== */
.antrean-box {
    background-color: #D0D0D0;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #2A5A6D;
}

.antrean-box p:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    color: #2A5A6D;
}

.antrean-box p:first-child strong {
    font-size: 16px;
    margin-bottom: 5px;
}

.antrean-box p:first-child::after {
    content: attr(data-nomor);
    font-size: 2.5rem;
    font-weight: bold;
    color: #2A5A6D;
    margin-top: 3px;
}

/* ===== Notes, Alerts dan Pesan ===== */
.note {
    margin-top: 10px;
    font-size: 14px;
    color: #FFEB3B;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #2A5A6D;
}

.alert-success {
    background-color: #E0F2F7;
}

.alert-warning {
    background-color: #FFEB3B;
}

.alert-error {
    background-color: #D0D0D0;
}

/* ===== Gambar Checkmark ===== */
.checkmark-img {
    width: 120px;
    margin: 20px auto;
    display: block;
}

/* ===== Survey dan Rating ===== */
.survey-question {
    margin-bottom: 20px;
}

.rating-group {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.rating-group label {
    cursor: pointer;
    text-align: center;
    color: #FFEB3B;
}

.circle {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: #E0F2F7;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    color: #2A5A6D;
    transition: background 0.3s;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .circle {
    background: #FFEB3B;
    color: #2A5A6D;
}

/* ===== Success Message Custom ===== */
.success-message {
    background: #D0D0D0;
    padding: 20px;
    border: 2px solid #2A5A6D;
    border-radius: 10px;
    margin-top: 20px;
    color: #FFEB3B;
    font-weight: bold;
    text-align: center;
}

.success-message p {
    font-size: 16px;
    margin-top: 10px;
    color: #FFEB3B;
}

.success-icon {
    max-width: 100px;
    display: block;
    margin: 0 auto;
}

/* ===== Table (Jika Digunakan) ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #D0D0D0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #aaa;
    color: #2A5A6D;
}

th {
    background-color: #20B2AA;
    color: #FFEB3B;
}
