body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

header {
    text-align: center;
}

.logo {
    height: 70px;
}

.tabs {
    text-align: center;
    margin: 15px 0;
}

button {
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
}

select {
    padding: 8px;
    width: 250px;
    margin: 10px 0;
}

.tab {
    text-align: center;
}

.hidden {
    display: none;
}

iframe {
    width: 100%;
    height: 80vh;
    border: 1px solid #ccc;
    margin-top: 10px;
}
@media (max-width: 768px) {
    select, input, button {
        width: 100%;
        margin-bottom: 8px;
    }

    .tabs button {
        width: 48%;
    }

    iframe {
        height: 70vh;
    }
}
#printArea {
    text-align: center;
    margin: 10px auto 30px;
}

.print-btn {
    padding: 10px 20px;
    background: #0a4fa3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.print-btn:hover {
    background: #083b7a;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .print-btn {
        width: 90%;
        font-size: 16px;
    }
}
iframe {
    width: 100%;
    border: none;
    overflow: hidden;
    display: block;
}

iframe {
    width: 100%;
    height: 70vh;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: white;
}
@media (max-width: 768px) {
    iframe {
        height: 60vh;
    }
}
/* ---------- GLOBAL ---------- */
* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #eef3f9, #dfe9f3);
    color: #222;
}

/* ---------- HEADER ---------- */
header {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(
        to right,
        rgba(11, 94, 215, 0.9),
        rgba(0, 140, 255, 0.85)
    );
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header .logo {
    width: 90px;
    margin-bottom: 10px;
}

header h2 {
    margin: 5px 0;
    font-weight: 600;
}

header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

/* ---------- PAGE TITLE ---------- */
h3 {
    text-align: center;
    margin: 25px 0 10px;
    font-weight: 600;
    color: #0b5ed7;
}

/* ---------- TABS ---------- */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 25px;
}

.tabs button {
    padding: 10px 22px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    background: white;
    color: #0b5ed7;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
}

.tabs button:hover {
    transform: translateY(-2px);
    background: #0b5ed7;
    color: white;
}

/* ---------- SECTIONS (GLASS CARD) ---------- */
.tab {
    max-width: 900px;
    margin: auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.hidden {
    display: none;
}

/* ---------- INPUTS ---------- */
input[type="text"],
select {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

select:focus,
input:focus {
    outline: none;
    border-color: #0b5ed7;
}

/* ---------- RESET BUTTON ---------- */
button {
    margin-top: 8px;
}

button:not(.tabs button) {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button:not(.tabs button):hover {
    background: #5a6268;
}

/* ---------- IFRAME ---------- */
iframe {
    width: 100%;
    margin-top: 30px;
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    header h2 {
        font-size: 20px;
    }

    .tab {
        margin: 15px;
        padding: 20px;
    }

    .tabs {
        flex-direction: column;
        gap: 10px;
    }
}
/* Active tab styling - add this to your existing CSS */
.tab-button.active {
    background: #0b5ed7 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
}

/* Tab button hover effect */
.tab-button:hover:not(.active) {
    background: #e9ecef !important;
    color: #0b5ed7 !important;
}

/* Smooth transitions */
.tab-button, iframe, select, button {
    transition: all 0.3s ease;
}

/* Iframe loading state */
iframe:not([src=""]) {
    opacity: 1;
}

iframe[src=""] {
    opacity: 0;
    min-height: 0;
}