/* Premium Download Hub Base Styles */

.filehub-pro {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent !important;
    box-sizing: border-box;
}

/* Domyślny jasny motyw */
.filehub-pro,
.filehub-pro.fhp-style-light {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%) !important;
    color: #1A1D29;
    border-radius: 24px;
    margin: 20px 0 !important;
    padding: 40px 0 !important;
}

.filehub-pro.fhp-style-light .hub-header {
    background: rgba(26, 29, 41, 0.05);
    border: 1px solid rgba(26, 29, 41, 0.1);
}

/* Header - teraz z wewnętrznym kontenerem */
.hub-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hub-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hub-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6C63FF 0%, #42E2B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.hub-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    color: #6B7280;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border-radius: 12px;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(26, 29, 41, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #42E2B8;
}

.stat-label {
    font-size: 0.9rem;
    color: #6B7280;
}

/* Sekcja wyszukiwania i filtrów - teraz z wewnętrznym kontenerem */
.search-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.search-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(26, 29, 41, 0.1);
    color: #1A1D29;
}

.search-input:focus {
    border-color: #6C63FF;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.3);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6C63FF;
    font-size: 1.2rem;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(26, 29, 41, 0.1);
    background: rgba(255, 255, 255, 0.5);
    color: #1A1D29;
}

.filter-btn:hover, .filter-btn.active {
    background: #6C63FF;
    border-color: #6C63FF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    color: white;
}

/* Siatka zasobów z efektem hover 3D - teraz z wewnętrznym kontenerem */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.resource-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(26, 29, 41, 0.1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    background: rgba(255, 255, 255, 0.5);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6C63FF, #42E2B8);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.resource-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    padding: 25px 25px 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.file-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    color: white;
}

.file-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.file-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.file-badge.pro {
    background: linear-gradient(135deg, #6C63FF, #5651d6);
}

.file-badge.standard {
    background: #8A8D9F;
}

.file-badge.bestseller {
    background: linear-gradient(135deg, #FF6584, #E04A6F);
}

.file-badge.new {
    background: linear-gradient(135deg, #42E2B8, #36c9a3);
}

.card-body {
    padding: 0 25px 20px;
}

.card-body h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #1A1D29;
}

.card-body p {
    color: #6B7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.file-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #6B7280;
}

.file-stats {
    display: flex;
    gap: 15px;
}

.card-footer {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(108, 99, 255, 0.4);
}

.action-btns {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(26, 29, 41, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    color: #1A1D29;
}

.action-btn:hover {
    background: #6C63FF;
    transform: translateY(-3px);
    color: white;
}

/* Brak zasobów - teraz z wewnętrznym kontenerem */
.no-resources {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.no-resources i {
    font-size: 4rem;
    color: #6B7280;
    margin-bottom: 20px;
}

.no-resources h3 {
    color: #1A1D29;
    margin-bottom: 10px;
}

.no-resources p {
    color: #6B7280;
}

/* NOWE: Overlay dla wymaganego logowania */
.fhp-login-required-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}

.fhp-login-message {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.fhp-login-message i {
    font-size: 4rem;
    color: #6C63FF;
    margin-bottom: 20px;
}

.fhp-login-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1A1D29;
    font-weight: 700;
}

.fhp-login-message p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.fhp-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.fhp-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    color: white;
}

/* Style dla przycisków gdy logowanie jest wymagane */
.download-btn:disabled,
.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.download-btn:disabled:hover,
.action-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* NOWE STYLE: Modal wyboru źródła pobierania - ULEPSZONY */

.fhp-download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.fhp-download-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    animation: fhpModalAppear 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Style dla motywu light */
.fhp-modal-style-light {
    background: white;
    color: #1A1D29;
}

.fhp-modal-style-light .modal-header {
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    color: white;
}

.fhp-modal-style-light .download-source-item {
    border-bottom-color: #eee;
}

.fhp-modal-style-light .download-source-item:hover {
    background: #f8f9ff;
}

.fhp-modal-style-light .source-info h4 {
    color: #1A1D29;
}

.fhp-modal-style-light .source-type {
    color: #6B7280;
}

.fhp-modal-style-light .source-badge {
    background: #6C63FF;
    color: white;
}

.fhp-modal-style-light .modal-footer {
    border-top-color: #eee;
}

/* Style dla motywu dark */
.fhp-modal-style-dark {
    background: #2a2d39;
    color: #F5F7FF;
}

.fhp-modal-style-dark .modal-header {
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    color: white;
}

.fhp-modal-style-dark .download-source-item {
    border-bottom-color: #3a3d49;
}

.fhp-modal-style-dark .download-source-item:hover {
    background: #3a3d49;
}

.fhp-modal-style-dark .source-info h4 {
    color: #F5F7FF;
}

.fhp-modal-style-dark .source-type {
    color: #8A8D9F;
}

.fhp-modal-style-dark .source-badge {
    background: #6C63FF;
    color: white;
}

.fhp-modal-style-dark .modal-footer {
    border-top-color: #3a3d49;
}

/* Style dla motywu blue */
.fhp-modal-style-blue {
    background: #01466d;
    color: #ffffff;
}

.fhp-modal-style-blue .modal-header {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    color: #01466d;
}

.fhp-modal-style-blue .download-source-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.fhp-modal-style-blue .download-source-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fhp-modal-style-blue .source-info h4 {
    color: #ffffff;
}

.fhp-modal-style-blue .source-type {
    color: #a8d8ff;
}

.fhp-modal-style-blue .source-badge {
    background: #a8d8ff;
    color: #01466d;
}

.fhp-modal-style-blue .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

@keyframes fhpModalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fhp-download-modal .modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fhp-download-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fhp-download-modal .modal-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    opacity: 0.8;
}

.fhp-download-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.fhp-download-modal .modal-body {
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.download-sources-list {
    display: flex;
    flex-direction: column;
}

.download-source-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid;
    transition: background 0.3s;
    gap: 15px;
}

.download-source-item:last-child {
    border-bottom: none;
}

.download-source-item .source-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.fhp-modal-style-blue .download-source-item .source-icon {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    color: #01466d;
}

.download-source-item .source-info {
    flex: 1;
}

.download-source-item .source-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-source-item .source-info .source-type {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.source-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-source-item .source-action {
    flex-shrink: 0;
}

.source-download-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.fhp-modal-style-blue .source-download-btn {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    color: #01466d;
}

.source-download-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.fhp-modal-style-blue .source-download-btn:hover:not(:disabled) {
    box-shadow: 0 5px 15px rgba(168, 216, 255, 0.4);
}

.source-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.fhp-download-modal .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid;
    text-align: center;
}

.modal-cancel-btn {
    padding: 10px 25px;
    background: #6B7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fhp-modal-style-dark .modal-cancel-btn {
    background: #8A8D9F;
}

.fhp-modal-style-blue .modal-cancel-btn {
    background: #a8d8ff;
    color: #01466d;
}

.modal-cancel-btn:hover {
    background: #4B5563;
    transform: translateY(-1px);
}

.fhp-modal-style-dark .modal-cancel-btn:hover {
    background: #6B7280;
}

.fhp-modal-style-blue .modal-cancel-btn:hover {
    background: #7bc8ff;
}

/* NOWE STYLE: Paginacja i Załaduj więcej */

/* Sekcja paginacji */
.fhp-pagination {
    margin: 50px 0 30px;
    display: flex;
    justify-content: center;
}

.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(26, 29, 41, 0.2);
    border-radius: 10px;
    color: #1A1D29;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    background: #6C63FF;
    border-color: #6C63FF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(26, 29, 41, 0.2);
    color: #1A1D29;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.current {
    background: #6C63FF;
    border-color: #6C63FF;
    color: white;
}

.pagination-info {
    color: #6B7280;
    font-size: 0.9rem;
    text-align: center;
}

/* Sekcja Załaduj więcej */
.fhp-load-more {
    margin: 50px 0 30px;
    display: flex;
    justify-content: center;
}

.load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.load-more-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #6C63FF, #5651d6);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(108, 99, 255, 0.4);
    background: linear-gradient(135deg, #5651d6, #6C63FF);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.load-more-info {
    color: #6B7280;
    font-size: 0.9rem;
}

.loading-icon {
    margin-right: 8px;
}

/* Style dla ciemnego motywu */
.filehub-pro.fhp-style-dark .pagination-btn,
.filehub-pro.fhp-style-dark .pagination-number {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F5F7FF;
}

.filehub-pro.fhp-style-dark .pagination-info,
.filehub-pro.fhp-style-dark .load-more-info {
    color: #8A8D9F;
}

/* Style dla niebieskiego motywu */
.filehub-pro.fhp-style-blue .pagination-btn,
.filehub-pro.fhp-style-blue .pagination-number {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .pagination-info,
.filehub-pro.fhp-style-blue .load-more-info {
    color: #e6f2ff;
}

/* NOWE STYLE: Osobne paginacje */

/* Paginacja numeryczna */
.fhp-numeric-pagination .pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.fhp-numeric-pagination .pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(26, 29, 41, 0.2);
    color: #1A1D29;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fhp-numeric-pagination .pagination-number:hover,
.fhp-numeric-pagination .pagination-number.current {
    background: #6C63FF;
    border-color: #6C63FF;
    color: white;
}

/* Paginacja następna/poprzednia */
.fhp-prev-next-pagination .pagination-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.fhp-prev-next-pagination .pagination-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(26, 29, 41, 0.2);
    border-radius: 10px;
    color: #1A1D29;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fhp-prev-next-pagination .pagination-btn:hover {
    background: #6C63FF;
    border-color: #6C63FF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Style dla ciemnego motywu */
.filehub-pro.fhp-style-dark .fhp-numeric-pagination .pagination-number,
.filehub-pro.fhp-style-dark .fhp-prev-next-pagination .pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F5F7FF;
}

.filehub-pro.fhp-style-dark .fhp-numeric-pagination .pagination-number:hover,
.filehub-pro.fhp-style-dark .fhp-numeric-pagination .pagination-number.current,
.filehub-pro.fhp-style-dark .fhp-prev-next-pagination .pagination-btn:hover {
    background: #6C63FF;
    border-color: #6C63FF;
    color: white;
}

/* Style dla niebieskiego motywu */
.filehub-pro.fhp-style-blue .fhp-numeric-pagination .pagination-number,
.filehub-pro.fhp-style-blue .fhp-prev-next-pagination .pagination-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .fhp-numeric-pagination .pagination-number:hover,
.filehub-pro.fhp-style-blue .fhp-numeric-pagination .pagination-number.current,
.filehub-pro.fhp-style-blue .fhp-prev-next-pagination .pagination-btn:hover {
    background: #a8d8ff;
    border-color: #a8d8ff;
    color: #01466d;
}

/* Responsywność paginacji */
@media (max-width: 768px) {
    .fhp-numeric-pagination .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .fhp-prev-next-pagination .pagination-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .fhp-numeric-pagination .pagination-numbers {
        gap: 5px;
    }
    
    .fhp-numeric-pagination .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .fhp-prev-next-pagination .pagination-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .fhp-prev-next-pagination .pagination-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Responsywność */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 0 15px;
    }
    
    .search-filters,
    .hub-header {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .filehub-pro {
        padding: 20px 0 !important;
        margin: 15px 0 !important;
        border-radius: 20px !important;
    }
    
    .hub-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .hub-header h1 {
        font-size: 2.5rem;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 0 15px;
    }
    
    .search-container {
        min-width: 100%;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .header-stats {
        gap: 15px;
    }
    
    .stat {
        min-width: 120px;
        padding: 12px 15px;
    }
    
    .resources-grid {
        padding: 0 15px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .filehub-pro {
        padding: 15px 0 !important;
        margin: 10px 0 !important;
        border-radius: 16px !important;
    }
    
    .hub-header {
        padding: 25px 10px;
    }
    
    .hub-header h1 {
        font-size: 2rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 15px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-btns {
        width: 100%;
        justify-content: center;
    }
    
    .search-filters {
        padding: 0 10px;
    }
    
    .search-input {
        padding: 12px 45px 12px 15px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}/* Premium Download Hub Blue Theme Frontend */

.filehub-pro.fhp-style-blue {
    background: linear-gradient(135deg, #01466d 0%, #222f36 100%) !important;
    color: #ffffff;
    border-radius: 24px;
    margin: 20px 0 !important;
    padding: 40px 0 !important;
}

.filehub-pro.fhp-style-blue .hub-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.filehub-pro.fhp-style-blue .hub-header h1 {
    background: linear-gradient(135deg, #ffffff 0%, #a8d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(1, 70, 109, 0.3);
}

.filehub-pro.fhp-style-blue .hub-header p {
    color: #e6f2ff;
}

.filehub-pro.fhp-style-blue .stat {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.filehub-pro.fhp-style-blue .stat-value {
    color: #a8d8ff;
    font-weight: 700;
}

.filehub-pro.fhp-style-blue .stat-label {
    color: #e6f2ff;
    font-weight: 600;
}

.filehub-pro.fhp-style-blue .search-input {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.filehub-pro.fhp-style-blue .search-input:focus {
    border-color: #a8d8ff;
    box-shadow: 0 0 0 3px rgba(168, 216, 255, 0.3);
}

.filehub-pro.fhp-style-blue .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.filehub-pro.fhp-style-blue .search-icon {
    color: #a8d8ff;
}

.filehub-pro.fhp-style-blue .filter-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.filehub-pro.fhp-style-blue .filter-btn:hover,
.filehub-pro.fhp-style-blue .filter-btn.active {
    background: #a8d8ff;
    border-color: #a8d8ff;
    color: #01466d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 216, 255, 0.4);
}

.filehub-pro.fhp-style-blue .resource-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.filehub-pro.fhp-style-blue .resource-card::before {
    background: linear-gradient(90deg, #a8d8ff, #7bc8ff);
}

.filehub-pro.fhp-style-blue .resource-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(168, 216, 255, 0.5);
}

.filehub-pro.fhp-style-blue .file-icon {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    box-shadow: 0 5px 15px rgba(168, 216, 255, 0.3);
}

.filehub-pro.fhp-style-blue .file-badge.standard {
    background: #01466d;
}

.filehub-pro.fhp-style-blue .file-badge.pro {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    color: #01466d;
}

.filehub-pro.fhp-style-blue .file-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #333333;
}

.filehub-pro.fhp-style-blue .file-badge.bestseller {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.filehub-pro.fhp-style-blue .file-badge.new {
    background: linear-gradient(135deg, #7bc8ff, #a8d8ff);
    color: #01466d;
}

.filehub-pro.fhp-style-blue .card-body h3 {
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .card-body p {
    color: #e6f2ff;
}

.filehub-pro.fhp-style-blue .file-meta {
    color: #a8d8ff;
}

.filehub-pro.fhp-style-blue .file-stats {
    color: #a8d8ff;
}

.filehub-pro.fhp-style-blue .card-footer {
    background: rgba(1, 70, 109, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.filehub-pro.fhp-style-blue .download-btn {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    color: #01466d;
    font-weight: 700;
}

.filehub-pro.fhp-style-blue .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(168, 216, 255, 0.4);
    background: linear-gradient(135deg, #7bc8ff, #a8d8ff);
}

.filehub-pro.fhp-style-blue .action-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filehub-pro.fhp-style-blue .action-btn:hover {
    background: #a8d8ff;
    transform: translateY(-3px);
    color: #01466d;
}

.filehub-pro.fhp-style-blue .no-resources h3 {
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .no-resources p {
    color: #e6f2ff;
}

.filehub-pro.fhp-style-blue .no-resources i {
    color: #a8d8ff;
}

/* NOWE: Overlay dla wymaganego logowania w niebieskim motywie */
.filehub-pro.fhp-style-blue .fhp-login-required-overlay {
    background: rgba(1, 70, 109, 0.95);
}

.filehub-pro.fhp-style-blue .fhp-login-message {
    background: #01466d;
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .fhp-login-message h3 {
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .fhp-login-message p {
    color: #e6f2ff;
}

/* Style dla paginacji w niebieskim motywie */
.filehub-pro.fhp-style-blue .pagination-btn,
.filehub-pro.fhp-style-blue .pagination-number {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.filehub-pro.fhp-style-blue .pagination-btn:hover,
.filehub-pro.fhp-style-blue .pagination-number:hover,
.filehub-pro.fhp-style-blue .pagination-number.current {
    background: #a8d8ff;
    border-color: #a8d8ff;
    color: #01466d;
}

.filehub-pro.fhp-style-blue .pagination-info,
.filehub-pro.fhp-style-blue .load-more-info {
    color: #e6f2ff;
}

.filehub-pro.fhp-style-blue .load-more-btn {
    background: linear-gradient(135deg, #a8d8ff, #7bc8ff);
    color: #01466d;
}

.filehub-pro.fhp-style-blue .load-more-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #7bc8ff, #a8d8ff);
}

/* Responsywność dla blue motywu */
@media (max-width: 1024px) {
    .filehub-pro.fhp-style-blue .resources-grid,
    .filehub-pro.fhp-style-blue .search-filters,
    .filehub-pro.fhp-style-blue .hub-header {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .filehub-pro.fhp-style-blue {
        border-radius: 20px !important;
        margin: 15px 0 !important;
        padding: 30px 0 !important;
    }
    
    .filehub-pro.fhp-style-blue .hub-header h1 {
        font-size: 2.5rem;
    }
    
    .filehub-pro.fhp-style-blue .search-filters {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .filehub-pro.fhp-style-blue {
        border-radius: 16px !important;
        margin: 10px 0 !important;
        padding: 25px 0 !important;
    }
    
    .filehub-pro.fhp-style-blue .hub-header h1 {
        font-size: 2rem;
    }
    
    .filehub-pro.fhp-style-blue .search-filters {
        padding: 0 10px;
    }
}