/* Extracted from Components/Web/Pages/DangaBhsa.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;
    --success: #27ae60;
    --danger: #e74c3c;
}



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



/* ── Buttons (reused from dashboard) ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

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

/* ── NAVBAR (exact copy from dashboard) ── */
header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.nav-links>li {
    position: relative;
}
.nav-links>li>a,
.nav-links>li>.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: none;
    font-family: inherit;
}
.nav-links>li>a:hover,
.nav-links>li>.nav-link:hover {
    color: var(--color-text);
    background: rgba(192, 57, 43, 0.06);
}
.nav-links>li>a.active,
.nav-links>li>.nav-link.active {
    color: var(--color-primary);
    background: rgba(192, 57, 43, 0.08);
}
.nav-links>li>a i,
.nav-links>li>.nav-link i {
    font-size: 0.9rem;
}
.nav-links>li>a .arrow,
.nav-links>li>.nav-link .arrow {
    font-size: 0.6rem;
    margin-left: 2px;
    transition: transform 0.25s ease;
}
.dropdown.show>a .arrow,
.dropdown.show>.nav-link .arrow {
    transform: rotate(180deg);
}
.dropdown.show>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.dropdown-menu a:hover i {
    color: var(--color-primary);
}
.dropdown-menu .divider {
    height: 1px;
    background: var(--color-border);
    margin: 4px 12px;
}
.mega-dropdown .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mega-dropdown .dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.mega-dropdown .dropdown-item:hover {
    background: rgba(192, 57, 43, 0.06);
}
.mega-dropdown .dropdown-item .item-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text);
}
.mega-dropdown .dropdown-item .item-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.nav-profile .profile-arrow {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    transition: transform 0.25s ease;
}
.nav-profile.open .profile-arrow {
    transform: rotate(180deg);
}
.profile-dropdown .dropdown-item.logout {
    color: #e74c3c;
}
.profile-dropdown .dropdown-item.logout i {
    color: #e74c3c;
}
.profile-dropdown .dropdown-item.logout:hover {
    background: rgba(231, 76, 60, 0.08);
}

/* ── Page Banner ── */
.page-banner {
    position: relative;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1e1e2a 0%, #2d2d44 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    text-align: center;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="none" stroke="%23ffffff" stroke-width="0.5" d="M10 10 L90 10 L90 90 L10 90 Z M20 20 L80 20 L80 80 L20 80 Z M30 30 L70 30 L70 70 L30 70 Z"/></svg>');
    background-size: 60px 60px;
}
.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: 3px;
    color: var(--color-secondary);
    background: rgba(243, 156, 18, 0.15);
    padding: 6px 24px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(243, 156, 18, 0.20);
}
.page-banner h1 {
    font-family: 'Noto Sans Oriya', 'Inter', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.page-banner h1 .highlight {
    color: var(--color-secondary);
}
.page-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}
.page-banner .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 16px;
}
.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}
.page-banner .breadcrumb a:hover {
    color: var(--color-secondary);
}

/* ── Poem Content ── */
.poem-section {
    padding: 60px 0 80px;
    background: var(--color-white);
}

.poem-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: relative;
}

.poem-container::before {
    content: '\f6fc'; /* sailboat icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2.8rem;
    color: var(--color-secondary);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 30px;
    transform: rotate(10deg);
}

.poem-title {
    font-family: 'Noto Sans Oriya', 'Inter', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.poem-author {
    text-align: center;
    font-family: 'Noto Sans Oriya', 'Inter', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 16px;
}

.poem-author span {
    color: var(--color-secondary);
}

.poem-body {
    font-family: 'Noto Sans Oriya', 'Inter', serif;
    font-size: 1.2rem;
    line-height: 2.0;
    color: var(--color-text);
    white-space: pre-wrap;
    word-break: break-word;
}

.poem-body p {
    margin-bottom: 1.2rem;
}

.poem-body .stanza {
    margin-bottom: 1.8rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--color-secondary);
    padding-left: 1.2rem;
}

.poem-footer {
    margin-top: 32px;
    text-align: right;
    font-family: 'Noto Sans Oriya', 'Inter', serif;
    font-size: 1rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.poem-footer .author-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .poem-container {
        padding: 30px 28px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        position: relative;
    }
    .hamburger {
        display: block;
        order: 2;
    }
    .logo {
        order: 1;
    }
    .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);
        order: 3;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links>li {
        width: 100%;
    }
    .nav-links>li>a,
    .nav-links>li>.nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.9rem;
        text-align: left;
        border-radius: 8px;
    }
    .nav-links>li>a .arrow,
    .nav-links>li>.nav-link .arrow {
        margin-left: auto;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
        padding-left: 16px;
        border-left: 2px solid var(--color-border);
        margin-left: 16px;
        border-radius: 0;
        width: calc(100% - 16px);
    }
    .dropdown.show>.dropdown-menu {
        display: block;
        transform: none;
    }
    .dropdown-menu a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .mega-dropdown .dropdown-menu {
        min-width: auto;
        padding: 8px 0;
    }
    .mega-dropdown .dropdown-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
    .mega-dropdown .dropdown-item {
        padding: 6px 12px;
    }
    .mega-dropdown .dropdown-item .item-title {
        font-size: 0.8rem;
    }
    .mega-dropdown .dropdown-item .item-desc {
        font-size: 0.7rem;
    }
    .nav-profile {
        width: 100%;
        padding: 10px 16px;
        border-radius: 8px;
        background: transparent;
        border: none;
        justify-content: flex-start;
        gap: 12px;
        margin-left: 0;
    }
    .nav-profile:hover {
        background: rgba(192, 57, 43, 0.06);
        border-color: transparent;
        box-shadow: none;
    }
    .nav-profile .profile-name {
        max-width: 150px;
        font-size: 0.9rem;
    }
    .nav-profile .avatar {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    .profile-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
        padding-left: 16px;
        border-left: 2px solid var(--color-border);
        margin-left: 16px;
        border-radius: 0;
        width: calc(100% - 16px);
    }
    .profile-dropdown.open {
        display: block;
        transform: none;
    }
    .profile-dropdown .dropdown-item {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .profile-dropdown .divider {
        margin: 4px 16px;
    }

    .page-banner h1 {
        font-size: 2.0rem;
    }
    .poem-container {
        padding: 24px 18px;
    }
    .poem-title {
        font-size: 1.8rem;
    }
    .poem-body {
        font-size: 1.0rem;
        line-height: 1.8;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .page-banner h1 {
        font-size: 1.6rem;
    }
    .poem-container {
        padding: 16px 12px;
    }
    .poem-title {
        font-size: 1.4rem;
    }
    .poem-body {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .poem-author {
        font-size: 1rem;
    }
    .poem-container::before {
        font-size: 2rem;
        top: 12px;
        right: 16px;
    }
}
