/* ================= Toast Notifications System ================= */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    background: var(--nav-bg);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid var(--primary-color);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.success {
    border-left-color: #198754;
}

.toast.warning {
    border-left-color: #ffc107;
}

@media (max-width: 480px) {
    .toast-container {
        top: auto;
        bottom: 20px;
        right: 5%;
        left: 5%;
    }

    .toast {
        min-width: unset;
        width: 100%;
        transform: translateY(150%);
    }

    .toast.show {
        transform: translateY(0);
    }
}

/* ================= Shared SEO Content Section ================= */
.seo-content-section {
    max-width: 800px;
    margin: 50px auto 20px auto;
    padding: 30px;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    line-height: 1.7;
    color: var(--text-color);
}

.seo-content-section h2,
.seo-content-section h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.seo-content-section h2:first-child {
    margin-top: 0;
}

.seo-content-section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.seo-content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* ================= Legal Page Styles ================= */
.legal-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: var(--nav-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-content h3 {
    color: var(--text-color);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

/* ================= Cookie Popup ================= */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 20px;
    max-width: 350px;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.show {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

.cookie-btn.accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--hover-color);
}

.cookie-btn.reject {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.cookie-btn.reject:hover {
    background: var(--bg-color);
}

@media (max-width: 480px) {
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: -150px;
    }

    .cookie-popup.show {
        bottom: 10px;
    }
}

/* ================= Legal Page Styles ================= */
.legal-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: var(--nav-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-content h3 {
    color: var(--text-color);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}