/* ============================================
   PREMIUM PRICES COMPONENT - ROCOSCLINIC
   ============================================ */

.prices-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Search & Filter Header */
.prices-header {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(31, 41, 119, 0.03) 0%,
        rgba(79, 186, 213, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(79, 186, 213, 0.15);
}

.prices-search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prices-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 1.5rem;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.prices-search:focus-within {
    border-color: #1F2977;
    box-shadow: 0 0 0 4px rgba(31, 41, 119, 0.1);
}

.prices-search svg {
    color: #a0aec0;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.prices-search:focus-within svg {
    color: #1F2977;
}

.prices-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 0;
    font-size: 1rem;
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a202c;
    background: transparent;
}

.prices-search-input::placeholder {
    color: #a0aec0;
}

.prices-search-input.has-value {
    font-weight: 500;
}

.prices-filter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.prices-count {
    font-size: 0.9375rem;
    color: #4a5568;
}

.prices-count strong {
    color: #1F2977;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Category Section */
.prices-category {
    margin-bottom: 4rem;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.08);
    transition: all 0.3s ease;
}

.prices-category:hover {
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.12);
}

.prices-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    padding-left: 1.5rem;
    background: #ffffff;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Raleway', 'Montserrat', sans-serif;
    margin: 0;
    border-left: 4px solid #0662FF;
    border-bottom: 1px solid #e2e8f0;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.category-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

/* Subcategory */
.prices-subcategory {
    padding: 3rem 2rem;
    border-bottom: 1px solid #edf2f7;
}

.prices-subcategory:last-child {
    border-bottom: none;
}

.prices-subcategory-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1F2977;
    margin: 0 0 2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7FC9DE;
    font-family: 'Raleway', 'Montserrat', sans-serif;
    position: relative;
}

.prices-subcategory-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #4FBAD5;
    border-radius: 2px;
}

/* Prices Table */
.prices-table {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #edf2f7;
    border-radius: 12px;
    overflow: hidden;
}

.prices-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.prices-row:hover {
    background: linear-gradient(135deg,
        rgba(31, 41, 119, 0.02) 0%,
        rgba(79, 186, 213, 0.02) 100%);
    transform: translateX(4px);
}

.prices-service {
    flex: 1;
    min-width: 0;
}

.service-name {
    font-size: 1rem;
    color: #2d3748;
    line-height: 1.5;
    font-weight: 500;
}

.prices-cost {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2977;
    white-space: nowrap;
    font-family: 'Raleway', 'Montserrat', sans-serif;
    min-width: 140px;
    text-align: right;
}

.price-value.price-range {
    color: #3BA5C0;
}

.price-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #1F2977 0%, #171E54 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 2px 8px rgba(31, 41, 119, 0.2);
    white-space: nowrap;
}

.price-btn:hover {
    background: linear-gradient(135deg, #4FBAD5 0%, #3BA5C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 186, 213, 0.3);
}

.price-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(31, 41, 119, 0.2);
}

.price-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* No Results */
.prices-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem;
    text-align: center;
    background: #f7fafc;
    border-radius: 20px;
    margin-top: 4rem;
}

.prices-no-results svg {
    color: #cbd5e0;
    margin-bottom: 2rem;
}

.prices-no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
    margin: 0 0 0.5rem 0;
    font-family: 'Raleway', 'Montserrat', sans-serif;
}

.prices-no-results p {
    font-size: 1rem;
    color: #718096;
    margin: 0;
}

/* Pagination */
.prices-pagination {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #edf2f7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .prices-page {
        padding: 2rem 1.5rem;
    }

    .prices-category-title {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
        padding-left: 1.25rem;
    }

    .prices-subcategory {
        padding: 2rem 1.5rem;
    }

    .prices-subcategory-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .prices-header {
        padding: 1.5rem;
    }

    .prices-category-title {
        font-size: 1.125rem;
        padding: 1rem;
        padding-left: 1rem;
    }

    .prices-subcategory {
        padding: 1.5rem;
    }

    .prices-subcategory-title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .prices-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .prices-row:hover {
        transform: none;
    }

    .prices-cost {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }

    .price-value {
        font-size: 1.125rem;
        min-width: auto;
        text-align: left;
    }

    .price-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .prices-no-results {
        padding: 4rem 1.5rem;
    }

    .prices-no-results h3 {
        font-size: 1.25rem;
    }

    .prices-no-results svg {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .prices-search-input {
        font-size: 0.9375rem;
    }

    .prices-category-title {
        font-size: 1rem;
        padding: 0.875rem;
        padding-left: 0.875rem;
    }

    .prices-subcategory-title {
        font-size: 1rem;
    }

    .service-name {
        font-size: 0.9375rem;
    }

    .price-value {
        font-size: 1rem;
    }

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

    .prices-cost {
        flex-direction: column;
        align-items: stretch;
    }
}
