
.birm-verify-wrapper {
    font-family: "Tajawal", "Plus Jakarta Sans", sans-serif;
    max-width: 860px;
    margin: 30px auto;
    box-sizing: border-box;
}
.birm-verify-card, .birm-record-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: 0 20px 45px rgba(7, 22, 44, 0.1);
    border: 1px solid #e2e8f0;
}
.birm-verify-header {
    text-align: center;
    margin-bottom: 28px;
}
.birm-crest-logo-box {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    box-shadow: 0 0 20px rgba(197, 155, 39, 0.35);
    background: #07162c;
    padding: 2px;
}
.birm-crest-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.birm-title {
    font-size: 22px;
    font-weight: 800;
    color: #07162c;
    margin: 0 0 6px 0;
}
.birm-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}
.birm-search-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
}
.birm-input-label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 8px;
}
.birm-input-row {
    display: flex;
    gap: 10px;
}
.birm-search-field {
    flex: 1;
    padding: 12px 18px;
    font-size: 15px;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s;
}
.birm-search-field:focus {
    border-color: #c59b27;
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}
.birm-search-button {
    background: #07162c;
    color: #c59b27;
    border: none;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.birm-search-button:hover {
    background: #0b1f3a;
    color: #dfba48;
    transform: translateY(-1px);
}
.birm-helper-text {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Statement Card Styling */
.birm-statement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
}
.birm-statement-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}
.birm-statement-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #c59b27;
}
.birm-univ-title {
    font-size: 16px;
    font-weight: 900;
    color: #07162c;
    margin: 0 0 3px 0;
    font-family: "Playfair Display", serif;
    letter-spacing: 0.5px;
}
.birm-univ-subtitle {
    font-size: 11px;
    color: #c59b27;
    margin: 0;
    font-weight: 700;
}
.birm-btn-print {
    background: #07162c;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.birm-btn-print:hover {
    background: #0b1f3a;
}
.birm-status-banner {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    align-items: center;
}
.birm-banner-valid {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.birm-banner-revoked {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.birm-banner-expired {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}
.birm-status-banner h3 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 800;
}
.birm-status-banner p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}
.birm-banner-icon {
    font-size: 28px;
}
.birm-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 640px) {
    .birm-details-grid { grid-template-columns: 1fr; }
    .birm-input-row { flex-direction: column; }
    .birm-statement-header { flex-direction: column; text-align: center; gap: 12px; }
    .birm-statement-branding { flex-direction: column; }
}
.birm-detail-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
}
.birm-box-title {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}
.birm-student-name, .birm-program-title {
    font-size: 17px;
    font-weight: 800;
    color: #07162c;
    margin-bottom: 12px;
}
.birm-data-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.birm-data-row:last-child { border-bottom: none; }
.birm-label { color: #64748b; font-weight: 600; }
.birm-value { color: #1e293b; font-weight: 700; }
.birm-mono-code { font-family: monospace; color: #1d4ed8; font-weight: 800; }
.birm-timeline-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 12px;
}
@media (max-width: 640px) {
    .birm-timeline-row { grid-template-columns: 1fr; }
}
.birm-time-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.birm-statement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 11px;
    color: #64748b;
    line-height: 1.6;
}
.birm-qr-verify-box {
    text-align: center;
    flex-shrink: 0;
}
.birm-verify-qr-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    display: block;
    margin: 0 auto 4px auto;
}
.text-emerald { color: #16a34a !important; }
.text-rose { color: #dc2626 !important; }

@media print {
    body * { visibility: hidden; }
    #printable-certificate-statement, #printable-certificate-statement * { visibility: visible; }
    #printable-certificate-statement {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 30px;
        background: #fff !important;
        box-shadow: none !important;
        border: none !important;
    }
    .no-print { display: none !important; }
}
