/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 3rem 0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}


.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icons {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

    .floating-icon:nth-child(1) {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .floating-icon:nth-child(2) {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .floating-icon:nth-child(3) {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .floating-icon:nth-child(4) {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.categories-section,
.featured-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.newsletter-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    margin-top: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-footer {
    text-align: center;
}

/* Newsletter Section */
.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.newsletter-text {
    flex: 1;
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.newsletter-subtitle {
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.newsletter-input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 250px;
    background-color: #f9fafb;
}

    .newsletter-input:focus {
        outline: none;
        border-color: #10b981;
        background-color: white;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #059669, #047857);
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

    .btn-outline:hover {
        background: #10b981;
        color: white;
        transform: translateY(-2px);
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        height: 250px;
    }

    .floating-icons {
        width: 200px;
        height: 200px;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .categories-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .categories-section,
    .featured-section {
        padding: 2rem 1rem;
    }

    .newsletter-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}
.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, #1f2937 0%, #111827 70%);
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.top-row {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    height: 3.5rem;
    margin-left: 250px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.content {
    padding-top: 1.1rem;
    margin-left: 250px;
    min-height: calc(100vh - 3.5rem);
    background-color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .top-row,
    .content {
        margin-left: 0;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.category-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

    .category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: #10b981;
    }

.category-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    gap: 1rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-content {
    flex: 1;
}

.category-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.category-description {
    margin: 0 0 0.75rem 0;
    color: #6b7280;
    line-height: 1.4;
    font-size: 0.9rem;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.method-count {
    color: #10b981;
    font-weight: 600;
}

.featured-count {
    color: #f59e0b;
    font-weight: 500;
}

.category-arrow {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card:hover .category-arrow {
    color: #10b981;
    transform: translateX(4px);
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .category-link {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .category-description {
        font-size: 0.85rem;
    }
}
.method-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .method-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: #d1d5db;
    }

    .method-card.featured {
        border: 2px solid #10b981;
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
    }

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.method-image {
    height: 160px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .method-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.method-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.method-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    width: fit-content;
    margin-bottom: 0.75rem;
}

.method-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.method-link {
    text-decoration: none;
    color: #1f2937;
    transition: color 0.2s ease;
}

    .method-link:hover {
        color: #10b981;
    }

.method-description {
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    flex: 1;
}

.method-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.metric {
    text-align: center;
}

.metric-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 4px;
    display: block;
}

.metric-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

    .metric-value .free {
        color: #10b981;
        font-weight: 700;
    }

.method-indicators {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.risk-indicator,
.effort-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.indicator-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.risk-level,
.effort-level {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.risk-low {
    background-color: #d1fae5;
    color: #065f46;
}

.risk-medium {
    background-color: #fef3c7;
    color: #92400e;
}

.risk-high {
    background-color: #fecaca;
    color: #991b1b;
}

.risk-veryhigh {
    background-color: #fde2e8;
    color: #7f1d1d;
}

.effort-passive {
    background-color: #e0f2fe;
    color: #01579b;
}

.effort-low {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.effort-medium {
    background-color: #fff8e1;
    color: #f57c00;
}

.effort-high {
    background-color: #ffebee;
    color: #d32f2f;
}

.method-actions {
    padding: 1.25rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 0.75rem;
}

.btn {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    flex: 1;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #059669, #047857);
        transform: translateY(-1px);
    }

.btn-secondary {
    background-color: #f9fafb;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

    .btn-secondary:hover {
        background-color: #f3f4f6;
        color: #ef4444;
    }

    .btn-secondary .favorited {
        color: #ef4444;
    }

/* Mobile responsiveness */
@media (max-width: 480px) {
    .method-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .method-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }
}
.nav-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #e5e7eb;
}

/* Brand Section */
.brand {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

    .brand-link:hover {
        color: #10b981;
    }

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
    color: white;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1;
}

/* Navigation Items */
.nav-items {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-group {
    margin-bottom: 1.5rem;
}

.nav-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem 0.5rem 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #d1d5db;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

    .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: #10b981;
        border-left-color: #10b981;
    }

    .nav-item.active {
        background-color: rgba(16, 185, 129, 0.1);
        color: #10b981;
        border-left-color: #10b981;
    }

    .nav-item i {
        width: 20px;
        text-align: center;
        margin-right: 12px;
        font-size: 0.9rem;
    }

    .nav-item span {
        font-weight: 500;
    }

/* Footer */
.nav-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.nav-footer-text {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .nav-menu {
        width: 250px;
    }
}
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

    .page-header.full-width {
        margin: -1.1rem -1rem 2rem -1rem;
    }

.page-header-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

    .breadcrumb-back:hover {
        color: #10b981;
    }

.page-header-main {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.page-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.page-header-text {
    flex: 1;
    min-width: 0;
}

.page-category {
    display: inline-flex;
    align-items: center;
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    word-wrap: break-word;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    max-width: 600px;
}

.page-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-header-content {
        padding: 1.5rem 1rem;
    }

    .page-header-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .page-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .page-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }

    .page-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-actions {
        flex-direction: column;
        width: 100%;
    }
}
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* Search container */
.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    background-color: #f9fafb;
    transition: all 0.2s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #10b981;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    .search-input::placeholder {
        color: #9ca3af;
    }

/* Action buttons */
.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    position: relative;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

    .action-btn:hover {
        background-color: #f3f4f6;
        color: #374151;
    }

.calculator-btn:hover {
    color: #3b82f6;
}

.favorites-btn:hover {
    color: #ef4444;
}

.newsletter-btn:hover {
    color: #f59e0b;
}

.theme-btn:hover {
    color: #8b5cf6;
}

/* Badge for notifications */
.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-container {
        margin: 0 1rem;
        max-width: none;
    }

    .top-bar-actions {
        gap: 0.25rem;
    }

    .action-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .search-input {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem 0.6rem 2.2rem;
    }

    .search-icon {
        left: 0.8rem;
    }
}
.risk-meter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.risk-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.risk-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.risk-bars {
    display: flex;
    gap: 3px;
    align-items: flex-end;
}

.risk-bar {
    width: 8px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

    .risk-bar:nth-child(1) {
        height: 8px;
    }

    .risk-bar:nth-child(2) {
        height: 12px;
    }

    .risk-bar:nth-child(3) {
        height: 16px;
    }

    .risk-bar:nth-child(4) {
        height: 20px;
    }

    .risk-bar.inactive {
        background-color: #e5e7eb;
    }

    .risk-bar.risk-low {
        background: linear-gradient(135deg, #10b981, #059669);
    }

    .risk-bar.risk-medium {
        background: linear-gradient(135deg, #f59e0b, #d97706);
    }

    .risk-bar.risk-high {
        background: linear-gradient(135deg, #ef4444, #dc2626);
    }

    .risk-bar.risk-veryhigh {
        background: linear-gradient(135deg, #991b1b, #7f1d1d);
    }

.risk-text {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: capitalize;
}

    .risk-text.risk-low {
        background-color: #d1fae5;
        color: #065f46;
    }

    .risk-text.risk-medium {
        background-color: #fef3c7;
        color: #92400e;
    }

    .risk-text.risk-high {
        background-color: #fecaca;
        color: #991b1b;
    }

    .risk-text.risk-veryhigh {
        background-color: #fde2e8;
        color: #7f1d1d;
    }

.risk-description {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

h2 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

h3 {
    color: #2980b9;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.meta-info {
    background: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

    .meta-info p {
        margin: 5px 0;
        font-weight: 600;
    }

ul {
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

.contact-info {
    background: #e8f6f3;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #27ae60;
    margin-top: 20px;
}

.highlight {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}

.footer-note {
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

a {
    color: #3498db;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.toc {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
    border: 1px solid #dee2e6;
}

    .toc h3 {
        margin-top: 0;
        color: #495057;
    }

    .toc ul {
        list-style-type: none;
        padding-left: 0;
    }

    .toc li {
        margin-bottom: 5px;
    }

    .toc a {
        text-decoration: none;
        color: #007bff;
    }

        .toc a:hover {
            text-decoration: underline;
        }