/* wwwroot/css/site.css */
/* Skip link для доступности (скрыт до фокуса) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0.5rem;
    z-index: 10000;
    padding: 0.5rem 1rem;
    background: var(--primary-color, #0d6efd);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0.5rem;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.book-card {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

    .book-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.book-cover {
    height: 200px;
    object-fit: cover;
    background: #f8f9fa;
}

.book-cover-placeholder {
    height: 200px;
    background: linear-gradient(45deg, #6c757d, #adb5bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-card {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}


/* Loading animation */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}


@keyframes focus-pulse {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9), 0 0 0 16px rgba(67, 97, 238, 0.7), 0 25px 60px rgba(67, 97, 238, 0.8);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 1), 0 0 0 20px rgba(67, 97, 238, 0.8), 0 30px 70px rgba(67, 97, 238, 0.9);
    }
}

@keyframes gold-shimmer {
    0% {
        background: linear-gradient(135deg, #ffd166, #f9c74f, #ffb347);
    }

    100% {
        background: linear-gradient(135deg, #f9c74f, #ffb347, #ffd166);
    }
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem;
        max-width: 90%;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .form-control {
        padding: 0.875rem 1rem;
        height: 52px;
    }

    .btn-login {
        padding: 1rem;
        height: 52px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .books-header {
        padding: 1.5rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .books-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .pagination-container {
        padding: 1rem;
    }

    .book-cover {
        height: 180px;
    }
}




/* Pulsing Glow Animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 15px 35px rgba(67, 97, 238, 0.5), 0 8px 20px rgba(114, 9, 183, 0.3);
    }

    100% {
        box-shadow: 0 20px 45px rgba(67, 97, 238, 0.7), 0 12px 25px rgba(114, 9, 183, 0.5), 0 0 40px rgba(67, 97, 238, 0.4);
    }
}

@keyframes gradient-border {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateX(8px) scale(1.2);
    }

    50% {
        transform: translateX(12px) scale(1.3);
    }
}

@keyframes focus-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 0 0 8px rgba(67, 97, 238, 0.5), 0 15px 35px rgba(67, 97, 238, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 0 12px rgba(67, 97, 238, 0.6), 0 20px 40px rgba(67, 97, 238, 0.7);
    }
}

@keyframes neon-pulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.7), 0 15px 35px rgba(0, 217, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 40px rgba(255, 0, 255, 0.9), 0 20px 45px rgba(0, 217, 255, 0.7), 0 0 60px rgba(0, 217, 255, 0.4);
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-all-books {
        padding: 16px 32px;
        font-size: 1.2rem;
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
    }

        .btn-all-books:hover {
            transform: translateY(-3px) scale(1.05);
        }
}

/* �������� */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 3rem 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .empty-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

        .empty-actions .btn {
            width: 100%;
        }
}


/* Responsive search */
@media (max-width: 768px) {
    .realtime-search-results {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        max-height: 300px;
    }

    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes search-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .realtime-search-results {
        position: fixed;
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
        max-height: 60vh;
        z-index: 9999;
    }

    .search-input-wrapper {
        border-radius: 12px;
        overflow: hidden;
    }

    .hero-search {
        position: static;
    }
}

/* ��� ����� ������� ������� */
@media (min-height: 800px) {
    .realtime-search-results {
        max-height: 500px;
    }
}

/* ���������� ��� ��������� ��������� */
@media (max-width: 768px) {
    .realtime-search-results {
        position: fixed; /* ���������� fixed ��� ��������� */
        top: auto;
        left: 50% !important;
        transform: translateX(-50%);
        width: calc(100vw - 32px) !important;
        max-width: 600px;
        max-height: 60vh;
        z-index: 99999; /* ��� ���� ��� ��������� */
    }

    .search-input-wrapper {
        border-radius: 12px;
        overflow: hidden;
    }
}

/* �������� ��� ��������� */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ���� ��� ������� �� ��������� */
@media (max-width: 768px) {
    body {
        position: relative;
        overflow-x: hidden;
    }
}

@keyframes slideIn {
    from {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    to {
        transform: translate3d(-100%, 0, 0);
        opacity: 0;
    }
}


@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}
/* �������� */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes progressPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ��� ��������� ��������� */
@media (max-width: 768px) {
    .realtime-search-results {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 50vh !important;
        border-radius: 20px 20px 0 0 !important; /* ������ ������� ���� ��������� �� �������� */
        border-top: 1px solid var(--border-color);
        border-bottom: none;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(100%) !important;
        transition: transform 0.3s ease;
    }

        .realtime-search-results.show {
            transform: translateY(0) !important;
        }
}


/* ������ ��������� ��� ������ */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 0;
    }
}

/* ������������ */
@media (max-width: 768px) {
    .search-input {
        padding: 14px 16px 14px 48px;
        font-size: 1rem;
    }

    .search-icon {
        width: 52px;
    }

    .search-clear {
        right: 52px;
        width: 26px;
        height: 26px;
    }

    .realtime-search-results {
        max-height: 60vh;
        border-radius: 0 0 10px 10px;
    }

    .realtime-search-item {
        padding: 12px 16px;
        min-height: 54px;
    }
}

@keyframes dropdownAppear {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }
}

.file-input-wrapper:has(.file-input:focus) {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .file-input-wrapper::before {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .file-info-display {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .file-drop-area {
        padding: 2rem 1rem;
    }

    .file-drop-icon {
        font-size: 2.5rem;
    }
}

/* ��� ��������� ��������� - ��������� ������������ ���� */
@media (max-width: 768px) {
    body {
        background-size: 150px 150px;
    }

    :root[data-theme="light"] {
        --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cdefs%3E%3Cpattern id='books-light-mobile' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cg transform='translate(20, 20)'%3E%3Cpath d='M6 4h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2zm1 2v14h10V6H7zm2 2h6v1H9zm0 3h6v1H9zm0 3h4v1H9z' fill='%234361ee' fill-opacity='0.04'/%3E%3Cpath d='M40 12h10c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H40c-1.1 0-2-.9-2-2V14c0-1.1.9-2 2-2zm1 2v10h8V14h-8zm2 2h4v1h-4zm0 3h4v1h-4z' fill='%233a0ca3' fill-opacity='0.03'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='150' height='150' fill='url(%23books-light-mobile)' opacity='0.5'/%3E%3C/svg%3E");
    }

    :root[data-theme="dark"] {
        --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cdefs%3E%3Cpattern id='books-dark-mobile' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cg transform='translate(20, 20)'%3E%3Cpath d='M6 4h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2zm1 2v14h10V6H7zm2 2h6v1H9zm0 3h6v1H9zm0 3h4v1H9z' fill='%236478ff' fill-opacity='0.05'/%3E%3Cpath d='M40 12h10c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H40c-1.1 0-2-.9-2-2V14c0-1.1.9-2 2-2zm1 2v10h8V14h-8zm2 2h4v1h-4zm0 3h4v1h-4z' fill='%238396ff' fill-opacity='0.04'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='150' height='150' fill='url(%23books-dark-mobile)' opacity='0.4'/%3E%3C/svg%3E");
    }
}

/* ��� ����� ��������� ������� - ������� ��� */
@media (max-width: 480px) {
    body {
        background-image: none;
    }

        body::before {
            opacity: 0.1;
        }
}


@keyframes fadeInOption {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}


/* �������� */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes slideLine {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

@keyframes underlinePulse {
    0%, 100% {
        width: 200px;
        opacity: 1;
    }

    50% {
        width: 250px;
        opacity: 0.7;
    }
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(60px, 0) rotate(180deg);
    }

    75% {
        transform: translate(30px, 30px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* �������� ����� (�������) */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ������ �������� ��� �������� */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

.books-header.loading {
    animation: gradient 15s ease infinite, glowPulse 3s ease-in-out infinite;
}

/* ������������ */
@media (max-width: 768px) {
    .books-header {
        padding: 3rem 0 4rem;
        border-radius: 0.5rem;
    }

    .books-header-title {
        font-size: 2.5rem;
    }

    .books-header-subtitle {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .books-header-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .floating-icon {
        font-size: 1.5rem;
    }
}



/* �������� */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }

    50% {
        box-shadow: var(--shadow-lg), 0 0 60px rgba(67, 97, 238, 0.4);
    }
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

@keyframes expandLine {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    50% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes underlineWave {
    0%, 100% {
        width: 300px;
        opacity: 0.8;
    }

    50% {
        width: 350px;
        opacity: 1;
    }
}

@keyframes floatIconComplex {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(40px, -40px) rotate(90deg) scale(1.2);
    }

    50% {
        transform: translate(80px, 0) rotate(180deg) scale(1);
    }

    75% {
        transform: translate(40px, 40px) rotate(270deg) scale(1.2);
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(10px) rotate(15deg) scale(1.2);
    }

    50% {
        transform: translateX(15px) rotate(15deg) scale(1.3);
    }
}

@keyframes searchInputFocus {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.2), 0 10px 30px rgba(67, 97, 238, 0.15);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(67, 97, 238, 0.3), 0 15px 40px rgba(67, 97, 238, 0.25);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ������������ */
@media (max-width: 1200px) {
    .books-header-title {
        font-size: 3.5rem;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .books-header {
        padding: 5rem 0 6rem;
    }

    .books-header-title {
        font-size: 3rem;
    }

    .books-header-subtitle {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .stat-item {
        min-width: 160px;
        padding: 1.5rem 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .search-section {
        padding: 2rem;
        margin: -1rem auto 2.5rem;
    }

    .search-form {
        flex-direction: column;
        gap: 1.2rem;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .books-header {
        padding: 4rem 0 5rem;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .books-header-title {
        font-size: 2.5rem;
    }

    .books-header-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: calc(50% - 1.5rem);
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2.8rem;
    }

    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

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

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .filter-select {
        width: 100%;
    }

    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .filter-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .books-header {
        padding: 3rem 0 4rem;
        border-radius: 0.5rem;
    }

    .books-header-title {
        font-size: 2rem;
    }

    .books-header-subtitle {
        font-size: 1rem;
        padding: 1rem;
    }

    .books-header-stats {
        gap: 1rem;
    }

    .stat-item {
        min-width: calc(50% - 1rem);
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2.2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .search-section,
    .filters-section,
    .pagination-container {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .book-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .page-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .floating-icon {
        font-size: 2rem;
    }
}


@keyframes pulseClear {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(239, 71, 111, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 8px 25px rgba(239, 71, 111, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(239, 71, 111, 0.5);
    }
}

/* �������� ��������� ����� ����������� */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ������������ ��� ����� ����������� */
@media (max-width: 992px) {
    .search-results-info {
        padding: 1.5rem 2rem;
        margin: 0 auto 2.5rem;
    }

        .search-results-info span {
            font-size: 1.2rem;
        }

        .search-results-info strong {
            font-size: 1.3rem;
        }

    .clear-search-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
}

@media (max-width: 576px) {
    .search-results-info {
        padding: 1.2rem;
        margin: 0 auto 2rem;
    }

        .search-results-info span {
            font-size: 1rem;
            gap: 0.5rem;
        }

        .search-results-info strong {
            font-size: 1.1rem;
            padding: 0.2rem 0.4rem;
        }

    .clear-search-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .books-header {
        padding: 4rem 0 5rem;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }
}

@media (max-width: 768px) {
    .search-results-info {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }

        .search-results-info span {
            justify-content: center;
            font-size: 1.1rem;
        }

        .search-results-info strong {
            font-size: 1.2rem;
        }

    .clear-search-btn {
        width: 100%;
        justify-content: center;
    }

    .books-header {
        padding: 5rem 0 6rem;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }
}


/* ������������ */
@media (max-width: 992px) {
    .books-header {
        padding: 5rem 0 6rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .books-header-title {
        font-size: 3.2rem;
    }

    .books-header-subtitle {
        font-size: 1.2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .books-header {
        padding: 4rem 0 5rem;
        border-radius: 0 0 1rem 1rem;
    }

    .books-header-title {
        font-size: 2.5rem;
    }

    .books-header-subtitle {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .books-header-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .books-header {
        padding: 3rem 0 4rem;
        border-radius: 0 0 0.8rem 0.8rem;
    }

    .books-header-title {
        font-size: 2rem;
    }

        .books-header-title::after {
            width: 200px;
            height: 4px;
        }

    .books-header-subtitle {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* �������� */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }

    50% {
        box-shadow: var(--shadow-lg), 0 0 60px rgba(67, 97, 238, 0.4);
    }
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

@keyframes expandLine {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    50% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes underlineWave {
    0%, 100% {
        width: 300px;
        opacity: 0.8;
    }

    50% {
        width: 350px;
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Animation for login card appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem;
    }

    .login-card {
        padding: 2rem;
        max-width: 100%;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .login-subtitle {
        font-size: 1rem;
    }

    .form-control {
        padding: 0.875rem 1rem;
        height: 52px;
    }

    .btn-login {
        padding: 1rem;
        height: 52px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
    }

    .login-title {
        font-size: 1.6rem;
    }

    .login-subtitle {
        font-size: 0.95rem;
    }

    .form-control {
        font-size: 1rem;
    }

    .login-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Success animation */
@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ������������ */
@media (max-width: 1200px) {
    .floating-book {
        width: 150px;
        height: 200px;
    }

        .floating-book.center {
            margin-left: -75px;
        }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .floating-book {
        width: 120px;
        height: 160px;
        opacity: 0.7;
    }

        .floating-book.center {
            margin-left: -60px;
        }

    .book-title {
        font-size: 0.9rem;
    }

    .book-author {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .floating-book {
        display: none;
    }

        .floating-book.center {
            display: block;
            position: relative;
            top: auto;
            left: auto;
            margin: 2rem auto;
            transform: none;
            animation: floatBookMobile 5s ease-in-out infinite;
        }

    @keyframes floatBookMobile {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }

        50% {
            transform: translateY(-20px) rotate(5deg);
        }
    }

    .search-input {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0 3rem;
        border-radius: 0 0 1rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .search-input {
        font-size: 1rem;
        padding: 0.875rem 0;
    }

    .search-icon {
        padding: 0.75rem;
        font-size: 1.1rem;
    }

    .search-clear {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

@keyframes floatBookRight {
    0%, 100% {
        transform: translateY(0) rotate(15deg);
    }

    25% {
        transform: translateY(-25px) rotate(18deg);
    }

    50% {
        transform: translateY(-35px) rotate(12deg);
    }

    75% {
        transform: translateY(-15px) rotate(18deg);
    }
}

.floating-book.center {
    animation-name: floatBookCenter;
}

@keyframes floatBookCenter {
    0%, 100% {
        transform: translateY(0) rotate(5deg) scale(1);
    }

    25% {
        transform: translateY(-30px) rotate(8deg) scale(1.05);
    }

    50% {
        transform: translateY(-50px) rotate(2deg) scale(1.1);
    }

    75% {
        transform: translateY(-20px) rotate(8deg) scale(1.05);
    }
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* �������� */
@keyframes floatBook {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }

    25% {
        transform: translateY(-20px) rotate(-12deg);
    }

    50% {
        transform: translateY(-40px) rotate(-18deg);
    }

    75% {
        transform: translateY(-20px) rotate(-12deg);
    }
}

/* ============================================= */
/* ������������ ����� (��� �� About, �� �����) */
/* ============================================= */

/* ��������� ��� ������ */
.hero-icon-wrapper {
    position: relative;
    margin: 2rem auto 3rem;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* �������� ������ ����� */
.hero-icon {
    font-size: 5rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.3));
}

/* �������� ������� (����������) */
@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.3));
    }

    25% {
        transform: translateY(-15px) scale(1.05) rotate(2deg);
        filter: drop-shadow(0 10px 20px rgba(67, 97, 238, 0.4));
    }

    50% {
        transform: translateY(-10px) scale(1.02) rotate(-2deg);
        filter: drop-shadow(0 8px 18px rgba(67, 97, 238, 0.35));
    }

    75% {
        transform: translateY(-15px) scale(1.05) rotate(2deg);
        filter: drop-shadow(0 10px 20px rgba(67, 97, 238, 0.4));
    }
}

/* ������� ���� ����� � ������� */
.book-counter {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    z-index: 3;
    animation: counterPulse 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes counterPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    }
}

.counter-number {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

.counter-text {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ����-������ ������ �������� ������ */
.mini-books {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.mini-book {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 8px;
    animation: miniBookFloat 6s ease-in-out infinite;
    z-index: 1;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

    /* ��������� ����-����� �� ����� */
    .mini-book:nth-child(1) {
        top: 10px;
        left: 10px;
        animation-delay: 0s;
        background: linear-gradient(135deg, #4cc9f0, #4895ef);
    }

    .mini-book:nth-child(2) {
        top: 10px;
        right: 10px;
        animation-delay: 1.5s;
        background: linear-gradient(135deg, #f9c74f, #f8961e);
    }

    .mini-book:nth-child(3) {
        bottom: 10px;
        left: 10px;
        animation-delay: 3s;
        background: linear-gradient(135deg, #7209b7, #3a0ca3);
    }

    .mini-book:nth-child(4) {
        bottom: 10px;
        right: 10px;
        animation-delay: 4.5s;
        background: linear-gradient(135deg, #f72585, #b5179e);
    }

/* �������� ��� ����-������ */
@keyframes miniBookFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
    }

    25% {
        transform: translateY(-8px) rotate(10deg) scale(1.1);
        box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
    }

    50% {
        transform: translateY(-5px) rotate(0deg) scale(1.05);
        box-shadow: 0 6px 15px rgba(67, 97, 238, 0.35);
    }

    75% {
        transform: translateY(-8px) rotate(-10deg) scale(1.1);
        box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
    }
}

/* ������ �������� ������ ������ */
.hero-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient( ellipse at center, rgba(67, 97, 238, 0.15) 0%, rgba(67, 97, 238, 0.1) 30%, transparent 70% );
    z-index: 1;
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ������ ��� ��������� �� ������ */
.hero-icon-wrapper:hover .hero-icon {
    animation: floatFast 1s ease-in-out infinite;
    filter: drop-shadow(0 10px 25px rgba(67, 97, 238, 0.5));
}

.hero-icon-wrapper:hover .book-counter {
    animation: counterPulseFast 0.8s ease-in-out infinite;
}

.hero-icon-wrapper:hover::before {
    animation: glowFast 2s ease-in-out infinite;
}

@keyframes floatFast {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes counterPulseFast {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes glowFast {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ������������ */
@media (max-width: 768px) {
    .hero-icon-wrapper {
        width: 150px;
        height: 150px;
        margin: 1.5rem auto 2.5rem;
    }

    .hero-icon {
        font-size: 4rem;
    }

    .book-counter {
        top: -5px;
        right: -5px;
        padding: 6px 10px;
        min-width: 60px;
    }

    .counter-number {
        font-size: 1.2rem;
    }

    .counter-text {
        font-size: 0.6rem;
    }

    .mini-book {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

        .mini-book:nth-child(1) {
            top: 5px;
            left: 5px;
        }

        .mini-book:nth-child(2) {
            top: 5px;
            right: 5px;
        }

        .mini-book:nth-child(3) {
            bottom: 5px;
            left: 5px;
        }

        .mini-book:nth-child(4) {
            bottom: 5px;
            right: 5px;
        }
}

/* ��� ������ ���� */
[data-theme="dark"] .hero-icon {
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.5));
}

[data-theme="dark"] .mini-book {
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

[data-theme="dark"] .hero-icon-wrapper::before {
    background: radial-gradient( ellipse at center, rgba(67, 97, 238, 0.25) 0%, rgba(67, 97, 238, 0.15) 30%, transparent 70% );
}

/* ��� ������ ���� */
[data-theme="light"] .hero-icon {
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.5));
}

[data-theme="light"] .mini-book {
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

[data-theme="light"] .hero-icon-wrapper::before {
    background: radial-gradient( ellipse at center, rgba(67, 97, 238, 0.25) 0%, rgba(67, 97, 238, 0.15) 30%, transparent 70% );
}

/* ������ ��� ������� */
.hero-icon-wrapper.scrolled {
    transform: scale(0.8);
    opacity: 0.7;
    transition: all 0.5s ease;
}


@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* ������������ */
@media (max-width: 768px) {
    .hero-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

.highlight-input {
    animation: highlight-pulse 1s ease;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.3) !important;
    border-color: var(--primary-color) !important;
}

@keyframes highlight-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.3);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }
}


    @keyframes placeholder-shine {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }
    @keyframes badge-float {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }

        50% {
            transform: translateY(-3px) rotate(2deg);
        }
    }
    @keyframes lamination-shimmer {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }

/* �������� � ��� <style> ������ */
#fullSizeCover.loading {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 300px;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes placeholder-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.cover-error {
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

/* �������������� ������� ��� ��������� */
.book-cover-wrapper:hover .cover-lamination {
    opacity: 0.6;
}

.book-cover-wrapper:hover .cover-badge {
    animation-play-state: paused;
}

/* ���������� fallback ��� ����������� */
.book-cover-image[src*="data:image/svg+xml"] {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}


/* �������� ��� ������� ������������� */
@keyframes lamination-shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(200%) rotate(45deg);
    }
}

/* ����� �������� ������� ����� ��� ����������� */
#currentPageImage {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

@keyframes panPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}


/* ������������ */
@media (max-width: 992px) {
    .footer-brand {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-column {
        margin-bottom: 2rem;
    }

        .footer-column:last-child {
            margin-bottom: 0;
        }
}


/* Footer - ����������� ����� */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

/* ���� � ��������� � ��������� */
.footer-brand {
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ������� ������ */
.footer-column h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-column h5::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 2px;
        background: var(--primary-color);
    }

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

    .footer-column a:hover {
        color: white;
        transform: translateX(5px);
    }

    .footer-column a i {
        width: 16px;
        font-size: 0.8rem;
    }

/* ������ ����� ������ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

/* ?????? �??????� ? ?????? ?? ?????? (? ?.?. ????????? ??????) */
#backToTop {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
#backToTop i {
    margin: 0 !important;
    display: block;
}