/* styles.css – единый файл стилей для DMark */

/* ===== 1. Базовые сбросы, шрифты и глобальные переменные ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #000000;
    color: #e0e4e9;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.app {
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
    overflow-x: hidden;
}

/* ===== 2. ШАПКА (общая для всех страниц) ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #222;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    width: auto;
    height: auto;
    overflow: visible;
    transform: none;
    white-space: normal;
}

.logo::before {
    content: "DMark";
    display: inline-block;
    color: #fff;
}

.auth-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.2s;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.auth-links a:hover {
    color: #002277;
}

/* ===== 3. ФУТЕР (общий для всех страниц) ===== */
.footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    border-top: 1px solid #222;
    margin-top: 3rem;
    width: 100%;
}

.footer a {
    color: #002277;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* ===== 4. МОДАЛЬНЫЕ ОКНА (общие для всех страниц) ===== */
/* Модальное окно оплаты */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.payment-modal-content {
    background-color: #111;
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    border: 1px solid #002277;
    box-shadow: 0 0 30px #002277;
}

.payment-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.payment-close:hover {
    color: white;
}

.payment-modal h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

#paymentAccountInfo {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    color: white;
}

.payment-description {
    color: #ccc;
    margin: 1rem 0;
    line-height: 1.5;
}

.payment-button {
    display: block;
    width: 100%;
    background: #002277;
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 600;
    margin: 0.5rem 0;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.payment-button:hover {
    background: #0044cc;
}

.payment-button.payment-cancel {
    background: #333;
    color: #ccc;
}

.payment-button.payment-cancel:hover {
    background: #444;
}

.payment-security {
    text-align: center;
    margin-top: 1rem;
    color: #00cc66;
    font-size: 0.9rem;
}

.payment-security i {
    margin-right: 5px;
}

/* Модальное окно для просмотра изображений */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid #002277;
    box-shadow: 0 0 30px #002277;
    border-radius: 10px;
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.image-modal .close-modal:hover {
    color: #002277;
}

.image-modal .modal-prev,
.image-modal .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.image-modal .modal-prev:hover,
.image-modal .modal-next:hover {
    background: #002277;
}

.image-modal .modal-prev {
    left: 20px;
}

.image-modal .modal-next {
    right: 20px;
}

@media (min-width: 768px) {

    .image-modal .modal-prev,
    .image-modal .modal-next {
        width: 50px;
        height: 50px;
        font-size: 40px;
    }
}

/* ===== 5. Утилитарные классы (общие) ===== */
.price-tag {
    background-color: #002277;
    color: white;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 34, 119, 0.3);
}

.price-block {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
    background: rgba(0, 34, 119, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    border-left: 3px solid #002277;
    position: relative;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 5px 0;
}

.price-label {
    font-size: 0.85rem;
    color: #aaa;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.1rem;
}

.discount-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 1rem 0;
}

/* ===== 6. СТРАНИЦА ГЛАВНАЯ (index) ===== */
body.page-index .search-section {
    margin-bottom: 2rem;
}

body.page-index .search-bar {
    display: flex;
    align-items: center;
    background: #111;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    margin-bottom: 1rem;
}

body.page-index .search-bar i {
    color: #002277;
    margin-right: 0.5rem;
}

body.page-index .search-bar input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

body.page-index .search-bar input::placeholder {
    color: #666;
}

body.page-index .filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

body.page-index .filters select {
    background: #111;
    color: white;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
}

body.page-index .sellers-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

body.page-index .seller-card {
    background: #111;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #222;
    transition: box-shadow 0.3s;
}

body.page-index .seller-card:hover {
    box-shadow: 0 0 20px rgba(0, 34, 119, 0.3);
}

body.page-index .seller-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

body.page-index .seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #002277;
}

body.page-index .seller-name {
    font-size: 1.5rem;
    color: white;
}

body.page-index .seller-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

body.page-index .seller-badge {
    background: #002277;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

body.page-index .seller-preview {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #002277 #222;
}

body.page-index .seller-preview::-webkit-scrollbar {
    height: 6px;
}

body.page-index .seller-preview::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}

body.page-index .seller-preview::-webkit-scrollbar-thumb {
    background: #002277;
    border-radius: 10px;
}

body.page-index .preview-item {
    flex: 0 0 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    cursor: pointer;
    transition: transform 0.2s;
}

body.page-index .preview-item:hover {
    transform: scale(1.03);
    border-color: #002277;
}

body.page-index .preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

body.page-index .preview-item p {
    padding: 5px;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Информационные карточки */
body.page-index .info-section {
    margin: 60px 0;
    text-align: center;
}

body.page-index .info-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

body.page-index .info-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

body.page-index .info-card {
    background: #111;
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 300px;
    border: 1px solid #222;
    transition: transform 0.3s;
}

body.page-index .info-card:hover {
    transform: translateY(-5px);
    border-color: #002277;
}

body.page-index .info-card i {
    font-size: 3rem;
    color: #002277;
    margin-bottom: 20px;
}

body.page-index .info-card h3 {
    margin-bottom: 10px;
    color: white;
}

body.page-index .info-card p {
    color: #aaa;
}

/* ===== 7. СТРАНИЦА ПРОДАВЦА (seller) ===== */
body.page-seller .seller-profile {
    background: #111;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

body.page-seller .seller-profile .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #002277;
    object-fit: cover;
    flex-shrink: 0;
}

body.page-seller .seller-profile .info {
    flex-shrink: 0;
}

body.page-seller .seller-profile .info h1 {
    font-size: 2rem;
    color: white;
    margin: 0;
}

body.page-seller .seller-profile .badges-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0;
}

body.page-seller .seller-profile .badge {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
}

body.page-seller .seller-profile .badge i {
    color: #002277;
    font-size: 1rem;
}

body.page-seller .seller-profile .contact {
    flex-shrink: 0;
}

body.page-seller .seller-profile .contact a {
    background: #002277;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background 0.2s;
}

body.page-seller .seller-profile .contact a:hover {
    background: #0044cc;
}

/* Мобильная адаптация профиля продавца */
@media (max-width: 767px) {
    body.page-seller .seller-profile {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 15px;
    }

    body.page-seller .seller-profile .avatar {
        grid-row: 1;
        grid-column: 1;
        width: 60px;
        height: 60px;
    }

    body.page-seller .seller-profile .info {
        grid-row: 1;
        grid-column: 2;
    }

    body.page-seller .seller-profile .info h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    body.page-seller .seller-profile .contact {
        grid-row: 1;
        grid-column: 3;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.page-seller .seller-profile .badges-container {
        grid-row: 2;
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: 10px 0 0 0;
        flex-direction: row;
        align-items: center;
    }

    body.page-seller .seller-profile .badge:first-child {
        width: 100%;
        margin-bottom: 5px;
    }

    body.page-seller .seller-profile .badge:nth-child(n+2) {
        width: auto;
        margin-right: 15px;
    }

    body.page-seller .seller-profile .badge:last-child {
        margin-right: 0;
    }
}

/* Карусель Swiper на странице продавца */
body.page-seller .carousel-swiper {
    width: 100%;
    padding: 10px 0 30px;
    overflow: visible;
    position: relative;
    min-height: 200px;
}

body.page-seller .carousel-swiper .swiper-wrapper {
    padding: 10px 0;
}

body.page-seller .carousel-swiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.page-seller .carousel-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.2s;
}

body.page-seller .carousel-swiper .swiper-slide:hover img {
    box-shadow: 0 0 25px #002277;
}

/* Размеры слайдов */
@media (min-width: 1024px) {
    body.page-seller .carousel-swiper .swiper-slide {
        width: 400px;
    }
}

@media (max-width: 1023px) and (min-width: 600px) {
    body.page-seller .carousel-swiper .swiper-slide {
        width: 280px;
    }
}

@media (max-width: 599px) {
    body.page-seller .carousel-swiper .swiper-slide {
        width: 200px;
    }
}

/* Кнопки навигации Swiper */
body.page-seller .carousel-swiper .swiper-button-prev,
body.page-seller .carousel-swiper .swiper-button-next {
    color: #002277;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
}

body.page-seller .carousel-swiper .swiper-button-prev:hover,
body.page-seller .carousel-swiper .swiper-button-next:hover {
    background: #002277;
    color: white;
}

body.page-seller .carousel-swiper .swiper-button-prev::after,
body.page-seller .carousel-swiper .swiper-button-next::after {
    font-size: 20px;
}

body.page-seller .carousel-swiper .swiper-button-prev {
    left: 5px;
}

body.page-seller .carousel-swiper .swiper-button-next {
    right: 5px;
}

/* Пагинация Swiper */
body.page-seller .carousel-swiper .swiper-pagination-bullet {
    background: #002277;
    opacity: 0.5;
}

body.page-seller .carousel-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #002277;
}

/* Скрываем кнопки навигации на мобильных */
@media (max-width: 599px) {

    body.page-seller .carousel-swiper .swiper-button-prev,
    body.page-seller .carousel-swiper .swiper-button-next {
        display: none;
    }
}

/* Информация под каруселью на странице продавца */
body.page-seller .account-info {
    text-align: center;
    margin-top: 15px;
}

body.page-seller .account-info h3 {
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    display: inline-block;
}

body.page-seller .account-info h3:hover {
    text-decoration: underline;
    color: #002277;
}

/* ===== 8. СТРАНИЦА АККАУНТА (account) ===== */
body.page-account .account-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

body.page-account .account-card {
    background: #111;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: none;
}

body.page-account .back-link {
    text-decoration: none;
    color: #aaa;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

body.page-account .back-link:hover {
    color: #002277;
}

body.page-account .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

body.page-account .gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #1a1a1a;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

body.page-account .gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px #002277;
}

body.page-account .account-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

body.page-account .resources {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    border: 1px solid #333;
}

body.page-account .resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

body.page-account .resource-item:last-child {
    border-bottom: none;
}

body.page-account .resource-label {
    width: 130px;
    font-weight: 600;
    color: #aaa;
}

body.page-account .resource-value {
    font-weight: 600;
    color: #ffffff;
}

body.page-account .description {
    margin: 1.5rem 0;
    line-height: 1.8;
    color: #ccc;
}

body.page-account .features-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

body.page-account .features-list li {
    padding: 0.5rem 0;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #2a2a2a;
}

body.page-account .features-list li:last-child {
    border-bottom: none;
}

body.page-account .features-list li::before {
    content: '•';
    color: #002277;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

body.page-account .account-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

body.page-account .buy-button {
    background: #002277;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.page-account .buy-button:hover {
    background: #0044cc;
    transform: scale(1.02);
    box-shadow: 0 0 15px #002277;
}

body.page-account .contact-button {
    background: transparent;
    color: #002277;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    border: 1px solid #002277;
    transition: all 0.2s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.page-account .contact-button:hover {
    background: #002277;
    color: white;
}

/* Адаптация для мобильных на странице аккаунта */
@media (max-width: 768px) {

    /* Заголовок */
    body.page-account .account-card h2 {
        font-size: 1.2rem;
    }

    /* Контейнер аккаунта – убираем боковые отступы */
    body.page-account .account-container {
        padding: 0;
        /* было 0 1rem */
        /* margin: 2rem auto;       можно оставить или тоже убрать, если нужно */
    }

    /* Карточка – убираем внутренние отступы */
    body.page-account .account-card {
        padding: 0;
        /* было 1rem */
    }

    /* Галерея – одна колонка */
    body.page-account .gallery-grid {
        gap: 8px;
        margin-bottom: 0.8rem;
        grid-template-columns: 1fr;
        /* одна колонка */
    }

    /* Блок ресурсов */
    body.page-account .resources {
        padding: 0.8rem;
        margin: 0.8rem 0;
    }

    body.page-account .resource-item {
        gap: 0.5rem;
        padding: 0.3rem 0;
    }

    body.page-account .resource-label {
        width: 100px;
        font-size: 0.8rem;
    }

    body.page-account .resource-value {
        font-size: 0.9rem;
    }

    /* Описание и фичи */
    body.page-account .description {
        margin: 0.8rem 0;
        font-size: 0.9rem;
    }

    body.page-account .features-list {
        margin: 0.8rem 0;
    }

    body.page-account .features-list li {
        padding: 0.3rem 0;
        font-size: 0.9rem;
    }

    /* Кнопки */
    body.page-account .account-actions {
        gap: 10px;
        margin-top: 0.8rem;
    }

    body.page-account .buy-button,
    body.page-account .contact-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Кнопка "Назад" */
    body.page-account .back-link {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
}

body.page-account .loading {
    text-align: center;
    padding: 2rem;
    color: #888;
}

body.page-account .error {
    text-align: center;
    padding: 2rem;
    color: #ff4444;
}

/* ===== 9. СТРАНИЦА О НАС (about) ===== */
body.page-about .about-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #111;
    border-radius: 20px;
    border: 1px solid #002277;
}

body.page-about .about-container h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

body.page-about .about-container h2 {
    color: #002277;
    margin: 1.5rem 0 1rem;
}

body.page-about .about-container p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

body.page-about .about-container ul {
    color: #ccc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

body.page-about .about-container li {
    margin-bottom: 0.5rem;
}

body.page-about .about-container .highlight {
    color: #002277;
    font-weight: 600;
}

body.page-about .back-home {
    display: inline-block;
    margin-top: 2rem;
    color: #002277;
    text-decoration: none;
    font-weight: 600;
}

body.page-about .back-home:hover {
    text-decoration: underline;
}

/* ===== 10. СТРАНИЦА ОШИБКИ (error) ===== */
body.page-error .error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem 1rem;
}

body.page-error .error-icon {
    font-size: 6rem;
    color: #002277;
    margin-bottom: 1rem;
}

body.page-error .error-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

body.page-error .error-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 600px;
}

body.page-error .error-button {
    display: inline-block;
    background: #002277;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

body.page-error .error-button:hover {
    background: #0044cc;
    transform: scale(1.02);
    box-shadow: 0 0 15px #002277;
}