* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
}

.header {
    background: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.header p {
    font-size: 14px;
    color: #ccc;
}

.loading {
    text-align: center;
    padding: 100px 20px;
}

.spinner {
    border: 4px solid #f0f0f0;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-container {
    display: flex;
    height: calc(100vh - 130px);
}

.pdf-side {
    flex: 6;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
}

.pdf-side iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.details-side {
    flex: 4;
    padding: 30px;
    overflow-y: auto;
    background: #fff;
}

.verified-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0066cc;
}

.verified-status svg {
    width: 30px;
    height: 30px;
}

.verified-status h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.detail-row {
    margin-bottom: 20px;
}

.detail-row label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.detail-row div {
    font-size: 15px;
    color: #000;
    font-weight: 500;
}

.open-btn {
    width: 100%;
    padding: 14px;
    background: #0066cc;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
}

.open-btn:hover {
    background: #0052a3;
}

.footer {
    text-align: center;
    padding: 15px;
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #666;
}

.error-box {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
}

.error-box h2 {
    color: #dc2626;
    margin-bottom: 20px;
}

.error-box p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        height: auto;
    }
    .pdf-side {
        height: 500px;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}
