/* Sahaf Notları - Винтажный дизайн книжного ларька */

:root {
    --color-paper: #f4f1e8;
    --color-paper-dark: #e8e3d3;
    --color-ink: #2c1810;
    --color-ink-light: #5a4a3a;
    --color-accent: #8b4513;
    --color-accent-dark: #6b3410;
    --color-border: #d4c4a8;
    --color-stamp: #a0522d;
    --color-shadow: rgba(44, 24, 16, 0.1);
    --spacing: 1.5rem;
    --radius: 2px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-ink);
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(139, 115, 85, 0.015) 2px,
            rgba(139, 115, 85, 0.015) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 115, 85, 0.015) 2px,
            rgba(139, 115, 85, 0.015) 4px
        ),
        linear-gradient(135deg, #f4f1e8 0%, #ebe6d9 50%, #f4f1e8 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga" 1, "calt" 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
    width: 100%;
}

/* Header */
.site-header {
    background: rgba(244, 241, 232, 0.95);
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 2px 8px var(--color-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-ink);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-variant: small-caps;
}

.logo-stamp {
    color: var(--color-stamp);
    transition: transform var(--transition);
}

.logo a:hover .logo-stamp {
    transform: rotate(15deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-ink);
    transition: var(--transition);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-list a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-ink-light);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
    color: var(--color-accent);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
    width: 80%;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--color-ink-light);
}

.breadcrumbs a {
    color: var(--color-ink-light);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-ink);
}

h1 {
    font-size: 2.5rem;
    font-variant: small-caps;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent) 70%, transparent 100%);
}

h1::before {
    content: '❧';
    position: absolute;
    left: -1.5rem;
    top: 0;
    font-size: 1.2rem;
    color: var(--color-stamp);
    opacity: 0.3;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-dark);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 241, 232, 0.85) 0%, rgba(235, 230, 217, 0.9) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-ink-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 245, 235, 0.8) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    box-shadow:
        2px 2px 8px var(--color-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 50px;
    height: 50px;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(160, 82, 45, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 69, 19, 0.06) 0%, transparent 50%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    transform: rotate(-15deg);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 69, 19, 0.15) 20%,
        rgba(139, 69, 19, 0.15) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow:
        4px 6px 16px var(--color-shadow),
        inset 0 0 0 1px rgba(139, 69, 19, 0.2);
    border-color: var(--color-accent);
}

.card:hover::after {
    opacity: 1;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    background: rgba(139, 69, 19, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--color-ink-light);
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.card:hover .card-link::after {
    width: 100%;
}

/* Review Card */
.review-card {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 243, 233, 0.9) 100%);
    border: 2px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    box-shadow:
        3px 3px 10px var(--color-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
}

.review-card::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="28" fill="none" stroke="%23a0522d" stroke-width="1" opacity="0.2"/><circle cx="30" cy="30" r="24" fill="none" stroke="%23a0522d" stroke-width="1.5" stroke-dasharray="2,2" opacity="0.3"/></svg>') no-repeat center;
    pointer-events: none;
    transform: rotate(12deg);
}

.review-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.review-header h3 {
    margin-bottom: 0.5rem;
}

.review-meta {
    font-size: 0.875rem;
    color: var(--color-ink-light);
    font-style: italic;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-box {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.6) 20px,
            rgba(248, 243, 233, 0.5) 20px,
            rgba(248, 243, 233, 0.5) 21px
        );
    border-left: 4px solid var(--color-accent);
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 2px 2px 6px rgba(44, 24, 16, 0.08);
}

.content-list {
    list-style-position: inside;
    margin: 1rem 0;
}

.content-list li {
    padding: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
}

.content-list li::marker {
    color: var(--color-accent);
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: white;
    text-decoration: none;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, #5a2d0f 100%);
    border-color: var(--color-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px var(--color-shadow),
        0 0 0 4px rgba(139, 69, 19, 0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: white;
}

/* Form */
#contactForm {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(252, 248, 240, 0.95) 100%);
    padding: 2.5rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    box-shadow:
        0 8px 24px rgba(44, 24, 16, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

#contactForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 8px 8px 0 0;
}

#contactForm::after {
    content: '✎';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-ink);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.95) 30px,
            rgba(248, 243, 233, 0.3) 30px,
            rgba(248, 243, 233, 0.3) 31px
        );
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 0 0 3px rgba(139, 69, 19, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.8;
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    cursor: pointer;
    font-size: 0.9rem;
}

.form-error {
    color: #c41e3a;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
    padding: 1rem;
    margin: 1rem 0;
    color: #2e7d32;
}

.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--radius);
}

/* Contact Info */
.contact-info {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(248, 243, 233, 0.8) 100%);
    border: 2px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: 3px 3px 12px rgba(44, 24, 16, 0.08);
}

.contact-info h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin: 1.25rem 0;
    align-items: start;
    padding: 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(139, 69, 19, 0.04);
}

.contact-item-icon {
    font-weight: bold;
    color: var(--color-accent);
    min-width: 28px;
    font-size: 1.3rem;
    text-align: center;
}

/* Footer */
.site-footer {
    background: rgba(232, 227, 211, 0.9);
    border-top: 2px solid var(--color-border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-ink-light);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.footer-stamp {
    color: var(--color-stamp);
    margin-top: 1rem;
    opacity: 0.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-ink-light);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 24, 16, 0.98);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 16px var(--color-shadow);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner.hide {
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    margin: 0;
}

.cookie-settings {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius);
    display: none;
}

.cookie-settings.show {
    display: block;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

#cookieChangePreferences {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(244, 241, 232, 0.98);
        flex-direction: column;
        padding: 0 1rem;
        box-shadow: 0 4px 8px var(--color-shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height var(--transition), opacity var(--transition), padding var(--transition);
    }

    .nav-list.active {
        max-height: 500px;
        padding: 1rem;
        opacity: 1;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-banner .btn {
        width: 100%;
        text-align: center;
    }
}

/* Page Images */
.page-image {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.15);
    border: 2px solid var(--color-border);
}

.page-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.page-image:hover img {
    transform: scale(1.02);
}

/* Toast Notifications */
#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
    opacity: 1;
    transform: translateX(0);
}

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

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

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.toast-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-ink);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-ink-light);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
}

.toast-close:hover {
    color: var(--color-ink);
}

.toast-message {
    color: var(--color-ink-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    #toastContainer {
        right: 10px;
        left: 10px;
        top: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
