/* Extracted from Components/Web/Pages/SingodiaKhabar.razor; loaded only by that component. */
/* ── Reset & Base ── */


:root {
    --color-primary: #c0392b;
    --color-primary-dark: #a93226;
    --color-secondary: #f39c12;
    --color-accent: #2980b9;
    --color-bg: #fdf8f4;
    --color-white: #ffffff;
    --color-text: #1e1e2a;
    --color-text-muted: #4a4a5a;
    --color-border: #e8e0d8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}



/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-primary);
    color: var(--color-white);
}

.btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.30);
}

/* ── Header / Navbar ── */
header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

/* ── Dropdown Menu ── */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--color-border);
    pointer-events: none;
}

/* ── Page Banner ── */
.page-banner {
    padding: 50px 0 30px;
    background: linear-gradient(135deg, #1e1e2a 0%, #2d2d44 100%);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(243, 156, 18, 0.06) 0%, transparent 50%);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner .badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    background: rgba(243, 156, 18, 0.15);
    padding: 4px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(243, 156, 18, 0.20);
}

.page-banner h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-white);
    margin-bottom: 6px;
}

.page-banner h1 .highlight {
    color: var(--color-secondary);
}

.page-banner .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 400;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.page-banner .breadcrumb a:hover {
    color: var(--color-secondary);
}

.page-banner .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ── PDF Viewer Section ── */
.pdf-section {
    padding: 40px 0 60px;
    background: var(--color-white);
}

.pdf-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.pdf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-border);
}

.pdf-header .pdf-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pdf-header .pdf-title .pdf-icon {
    font-size: 2.4rem;
    color: var(--color-primary);
}

.pdf-header .pdf-title h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
}

.pdf-header .pdf-title .pdf-version {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 2px 14px;
    border-radius: 50px;
}

.pdf-header .pdf-actions {
    display: flex;
    gap: 12px;
}

.pdf-header .pdf-actions .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.pdf-header .pdf-actions .btn-download:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(192, 57, 43, 0.30);
}

.pdf-header .pdf-actions .btn-download i {
    font-size: 0.8rem;
}

.pdf-header .pdf-actions .btn-new-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-border);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.pdf-header .pdf-actions .btn-new-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pdf-header .pdf-actions .btn-new-tab i {
    font-size: 0.8rem;
}

/* ── PDF Viewer ── */
.pdf-viewer {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
}

.pdf-viewer iframe {
    width: 100%;
    height: 700px;
    display: block;
    border: none;
}

.pdf-viewer .pdf-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    min-height: 500px;
    background: var(--color-bg);
}

.pdf-viewer .pdf-fallback .big-icon {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.3;
}

.pdf-viewer .pdf-fallback h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.pdf-viewer .pdf-fallback p {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 400px;
    margin-bottom: 20px;
}

.pdf-viewer .pdf-fallback .btn-download-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.pdf-viewer .pdf-fallback .btn-download-large:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.30);
}

/* ── PDF Info ── */
.pdf-info {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.pdf-info .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-info .info-item .info-icon {
    font-size: 1.2rem;
    color: var(--color-secondary);
    width: 32px;
    text-align: center;
}

.pdf-info .info-item .info-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.pdf-info .info-item .info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

/* ── Footer ── */
footer {
    background: #1e1e2a;
    color: rgba(255, 255, 255, 0.75);
    padding: 50px 0 30px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nav-links a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .nav-links .btn-login {
        padding: 6px 16px;
        font-size: 0.78rem;
    }

    .mega-dropdown .dropdown-menu {
        min-width: 320px;
    }

    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pdf-viewer iframe {
        height: 550px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .pdf-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pdf-header .pdf-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .pdf-header .pdf-actions .btn-download,
    .pdf-header .pdf-actions .btn-new-tab {
        flex: 1;
        justify-content: center;
    }

    .pdf-viewer iframe {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 2px;
        padding: 12px 0 16px;
        border-top: 1px solid var(--color-border);
        background: var(--color-white);
        margin-left: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.9rem;
        text-align: left;
        border-radius: 8px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(192, 57, 43, 0.08);
    }

    .nav-links .btn-login {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.9rem;
        margin-top: 4px;
        border-radius: 8px;
    }

    .nav-links .btn-login:hover {
        transform: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: transparent;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        pointer-events: auto;
        padding-left: 16px;
        border-left: 2px solid var(--color-border);
        margin-left: 16px;
        border-radius: 0;
        min-width: auto;
        width: calc(100% - 16px);
    }

    .dropdown.show>.dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .mega-dropdown .dropdown-menu {
        min-width: auto;
        left: 0;
        transform: none !important;
        padding: 8px 0;
        background: transparent;
        border: none;
        box-shadow: none;
        width: calc(100% - 16px);
    }

    .mega-dropdown.show>.dropdown-menu {
        transform: none !important;
        display: block !important;
    }

    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .dropdown-item {
        padding: 6px 10px;
    }

    .dropdown-item img {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        display: block;
    }

    .header-inner {
        min-height: 60px;
        padding: 8px 0;
    }

    .page-banner {
        padding: 40px 0 25px;
    }

    .page-banner h1 {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo img {
        height: 34px;
        width: 34px;
    }

    .pdf-viewer iframe {
        height: 350px;
    }

    .pdf-header .pdf-title h2 {
        font-size: 1.1rem;
    }

    .pdf-info {
        grid-template-columns: 1fr 1fr;
    }

    .pdf-viewer .pdf-fallback {
        padding: 40px 20px;
        min-height: 350px;
    }

    .pdf-viewer .pdf-fallback .big-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .page-banner h1 {
        font-size: 1.3rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 28px;
        width: 28px;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    .pdf-header .pdf-actions {
        flex-direction: column;
    }

    .pdf-header .pdf-actions .btn-download,
    .pdf-header .pdf-actions .btn-new-tab {
        width: 100%;
        justify-content: center;
    }

    .pdf-viewer iframe {
        height: 280px;
    }

    .pdf-info {
        grid-template-columns: 1fr;
    }

    .pdf-info .info-item {
        padding: 6px 0;
    }

    .pdf-viewer .pdf-fallback {
        padding: 30px 16px;
        min-height: 280px;
    }

    .pdf-viewer .pdf-fallback .big-icon {
        font-size: 2.8rem;
    }

    .pdf-viewer .pdf-fallback h3 {
        font-size: 1.1rem;
    }

    .pdf-viewer .pdf-fallback p {
        font-size: 0.9rem;
    }

    .pdf-viewer .pdf-fallback .btn-download-large {
        padding: 12px 28px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}
