/* Minimalist Wireframe & Blinking Animation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    touch-action: manipulation;
}

/* Kiosk Poster Canvas Responsive Typography */
.kiosk-poster {
    container-type: size;
}

.kiosk-title {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 5.0cqh;
    font-weight: 400;
    color: #000000;
    line-height: 1;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.kiosk-btn-daftar {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 2.85cqh;
    font-weight: 400;
    color: #000000;
    line-height: 1;
    border: 1px solid #8c8d8f;
    background-color: transparent;
    padding: 0 3.6cqw;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.85cqh;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.kiosk-btn-daftar:hover {
    background-color: rgba(15, 23, 42, 0.05);
    border-color: #0f172a;
}

.kiosk-btn-daftar:active {
    background-color: rgba(15, 23, 42, 0.12);
    transform: scale(0.98);
}

/* Custom minimalist scrollbar for kiosk touch screens */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
}

/* Page Departments Layout matching pendaftaran-jemputan.png */
.dept-title-container {
    padding-top: 28px;
    padding-bottom: 21px;
    text-align: center;
}

.dept-page-title {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    line-height: 1;
    margin: 0 0 9px 0;
    letter-spacing: -0.01em;
}

.dept-page-subtitle {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1;
    margin: 0;
}

.dept-grid-wrapper {
    padding: 0 37px 28px 37px;
}

.dept-grid {
    display: flex;
    flex-direction: column;
    row-gap: 11px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.dept-spacer-row {
    height: 30px;
    width: 100%;
    flex-shrink: 0;
}

.dept-item-btn {
    height: 30px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c1d9ef;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.dept-item-btn:hover {
    background-color: #f0f7ff;
    border-color: #3b82f6;
}

.dept-item-btn:active {
    transform: scale(0.98);
}

.dept-item-text {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    text-align: center;
    width: 100%;
}

/* Guest Table & Attendance Page matching no-meja-dan-nama-jemputan.png */
.table-circle-badge {
    width: 157px;
    height: 157px;
    border-radius: 50%;
    border: 1px solid #c1d9ef;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 16px auto 14px auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.table-circle-label {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.04em;
    line-height: 1;
}

.table-circle-number {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 54px;
    font-weight: 400;
    color: #000000;
    line-height: 1;
    margin-top: 6px;
}

.dept-name-heading {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    line-height: 1.2;
    margin: 0 0 20px 0;
    padding: 0 16px;
}

.guest-list-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 11.5px;
}

.guest-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    height: 30px;
    box-sizing: border-box;
}

.guest-name-box {
    flex: 1;
    max-width: 280px;
    height: 30px;
    border: 1px solid #c1d9ef;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.guest-name-text {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
    display: block;
}

.guest-name-text.empty {
    color: #94a3b8;
    font-style: italic;
}

.guest-hadir-container {
    display: flex;
    align-items: center;
    margin-left: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.guest-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 37px;
    height: 30px;
    border: 1px solid #c1d9ef;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.guest-checkbox:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.guest-checkbox:checked::after {
    content: "✓";
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.guest-checkbox:disabled {
    border-color: #e2e8f0;
    background-color: #f8fafc;
    cursor: not-allowed;
    opacity: 0.6;
}

.guest-hadir-text {
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #000000;
    user-select: none;
    margin-left: 10px;
}

.guest-pinda-btn {
    width: 72px;
    height: 30px;
    margin-left: 18px; /* Jarak sebelum button pinda dikurangkan lagi */
    border: 1px solid #c1d9ef;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #000000;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.guest-pinda-btn:hover {
    background-color: #f0f7ff;
    border-color: #3b82f6;
}

.guest-pinda-btn:active {
    transform: scale(0.98);
}

.btn-selesai {
    width: 224px;
    height: 43px;
    border: 1px solid #c1d9ef;
    background-color: #ffffff;
    border-radius: 4px;
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px auto 16px auto;
    cursor: pointer;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-selesai:hover {
    background-color: #f0f7ff;
    border-color: #3b82f6;
}

.btn-selesai:active {
    transform: scale(0.98);
}

.nav-sebelumnya {
    position: absolute;
    top: 130px;
    left: 23px;
    font-family: Arial, 'Segoe UI', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 20;
    transition: color 0.15s ease;
}

.nav-sebelumnya:hover {
    color: #2563eb;
}

@keyframes smoothBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(0.98);
    }
}

.blink-text {
    animation: smoothBlink 1.6s infinite ease-in-out;
}

/* Custom Checkbox Wireframe Style */
.wireframe-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border: 1.5px solid #0f172a;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.wireframe-checkbox:checked {
    background-color: #0f172a;
}

.wireframe-checkbox:checked::after {
    content: "✓";
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.wireframe-checkbox:disabled {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
    cursor: not-allowed;
}
