.verify-page * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .verify-page {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background-color: white;
            padding: 30px 20px;
            color: #333;
            font-size: 14px;
        }

        .verify-page .container {
            max-width: 1040px;
            margin: 0 auto;
        }

        /* ======= CARD ======= */
        .verify-page .card {
            background: white;
            border-radius: 16px;
            padding: 32px 36px;
            margin-bottom: 24px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
            border: 1px solid #f0f0f0;
        }

        /* ======= HEADER ======= */
        .verify-page .section-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .verify-page .section-header svg {
            width: 20px;
            height: 20px;
            stroke: #1a1a1a;
        }

        .verify-page .section-header h2 {
            font-size: 17px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .verify-page .section-description {
            color: #787878;
            font-size: 13px;
            margin-bottom: 22px;
            line-height: 1.4;
        }

        /* ======= INPUT ======= */
        .verify-page .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 18px;
            align-items: stretch;
        }

        .verify-page .input-field {
            flex: 1;
            padding: 11px 16px;
            font-size: 13px;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            background-color: #fafafa;
            transition: all 0.2s;
            color: #333;
        }

        .verify-page .input-field::placeholder {
            color: #999;
        }

        .verify-page .input-field:focus {
            outline: none;
            border-color: #999;
            background-color: white;
        }

        .verify-page .verify-btn {
            padding: 11px 32px;
            background-color: #0056d2;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            white-space: nowrap;
        }

        .verify-page .verify-btn:hover {
            background-color: #2a2a2a;
        }

        /* DEMO IDS */
        .verify-page .demo-ids {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .verify-page .demo-ids-label {
            color: #787878;
            font-size: 13px;
        }

        .verify-page .demo-id {
            padding: 6px 12px;
            background-color: #f5f5f5;
            border-radius: 6px;
            font-size: 13px;
            color: #666;
            cursor: pointer;
            border: 1px solid #e8e8e8;
            transition: all 0.2s;
        }

        .verify-page .demo-id:hover {
            background-color: #ebebeb;
            border-color: #ddd;
        }

        /* HEADER RESULT */
        .verify-page .result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 22px;
        }

        .verify-page .verified-badge {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px 12px;
            background-color: #e8f5e9;
            color: #2e7d32;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
        }

        .verify-page .verified-badge svg {
            width: 14px;
            height: 14px;
            stroke-width: 2.5;
        }

        /* SUCCESS BOX */
        .verify-page .success-box {
            background-color: #edf7ed;
            border-radius: 10px;
            padding: 16px 18px;
            margin-bottom: 28px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .verify-page .success-box .icon {
            width: 20px;
            height: 20px;
            background-color: #2e7d32;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: bold;
            flex-shrink: 0;
        }

        .verify-page .success-box .content h3 {
            color: #1b5e20;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .verify-page .success-box .content p {
            color: #2e7d32;
            font-size: 13px;
            line-height: 1.5;
        }

        /* GRID */
        .verify-page .details-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
        }

        .verify-page .details-section h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #1a1a1a;
        }

        .verify-page .detail-item {
            margin-bottom: 20px;
        }

        .verify-page .detail-label {
            font-size: 12px;
            color: #888;
            margin-bottom: 6px;
            font-weight: 500;
            letter-spacing: 0.2px;
        }

        .verify-page .detail-value {
            font-size: 14px;
            color: #1a1a1a;
            font-weight: 400;
        }

        .verify-page .copy-field {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 14px;
            background-color: #fafafa;
            border-radius: 6px;
            margin-top: 6px;
            border: 1px solid #f0f0f0;
        }

        .verify-page .copy-field code {
            font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
            font-size: 13px;
            color: #333;
        }

        .verify-page .copy-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: #999;
            padding: 2px;
            display: flex;
            align-items: center;
            transition: color 0.2s;
        }

        .verify-page .copy-btn:hover {
            color: #333;
        }

        .verify-page .copy-btn svg {
            width: 16px;
            height: 16px;
        }

        /* IFRAME PREVIEW */
        .verify-page .preview-frame {
            width: 100%;
            height: 220px;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .verify-page .hidden {
            display: none;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .verify-page .details-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .verify-page .input-group {
                flex-direction: column;
            }

            .verify-page .card {
                padding: 24px 20px;
            }
        }



        /* ========== EMPTY STATE UPGRADE ========== */

.verify-page .empty-state {
    text-align: center;
    padding: 48px 20px;
}

.verify-page .empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.verify-page .empty-state .empty-note {
    color: #777;
    font-size: 14px;
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Floating Icon */
.verify-page .floating-icon {
    font-size: 34px;
    opacity: 0.65;
    margin-bottom: 18px;
    animation: float 2.8s ease-in-out infinite;
    display: inline-block;
}

/* Subtle floating animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}



/* ========= ERROR STATE ========= */

.verify-page .error-state {
    background: #fff7f7;
    border: 1px solid #ffdcdc;
}

.verify-page .error-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 4px;
}

.verify-page .error-icon {
    font-size: 20px;
    margin-top: 3px;
    animation: shake 1.6s ease-in-out infinite;
    opacity: 0.9;
}

.verify-page .error-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: #b00020;
    margin-bottom: 4px;
}

.verify-page .error-text p {
    font-size: 13px;
    color: #7a000e;
    line-height: 1.5;
}

/* subtle shake animation (premium style) */
@keyframes shake {
    0% { transform: translateX(0); }
    50% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}





/* ========= PDF Preview Wrapper ========= */
.verify-page .preview-wrapper {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 0;
    position: relative;
}

/* Rasio frame (landscape certificate) */
.verify-page .preview-frame {
    width: 100%;
    height: 380px; /* tinggi ideal untuk sertifikat landscape */
    border: none;
    display: block;
    background: #fafafa;
}

/* Hilangkan scrollbar di dalam iframe */
.verify-page .preview-frame::-webkit-scrollbar {
    display: none;
}

.verify-page .preview-frame {
    scrollbar-width: none; /* Firefox */
}

/* Tambahan responsive */
@media (max-width: 768px) {
    .verify-page .preview-frame {
        height: 260px;
    }
}



/* File Sertifikat Link */
.verify-page .detail-link {
    font-size: 14px;
    font-weight: 500;
    color: #1a73e8; /* modern blue */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s ease;
}

.verify-page .detail-link:hover {
    color: #0d5ec7;
    text-decoration: underline;
}

/* Icon kecil */
.verify-page .pdf-icon {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 1px;
}
