.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-container.focused {
    border-color: #667eea;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    font-size: 20px;
    transition: color 0.3s ease;
    z-index: 2;
}

.search-container.focused .search-icon {
    color: #667eea;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 16px 20px 16px 60px;
    color: #333;
    font-weight: 400;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #a0a0a0;
    font-weight: 300;
}

.search-input:focus::placeholder {
    opacity: 0.7;
}

.search-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.search-button-icon {
    font-size: 18px;
}

/* Alternative compact version */
.search-container-compact {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-top: 30px;
}

.search-container-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.search-container-compact .search-input {
    padding: 12px 20px 12px 50px;
    font-size: 14px;
}

.search-container-compact .search-icon {
    left: 16px;
    font-size: 16px;
}

.search-container-compact .search-button {
    padding: 12px 20px;
    font-size: 14px;
    min-width: 80px;
}

.search-container-compact .search-button-icon {
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .search-button {
        min-width: 60px;
        padding: 16px 16px;
    }

    .search-button-text {
        display: none;
    }

    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .search-container-compact .search-button {
        min-width: 50px;
        padding: 12px 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .search-input {
        padding-left: 50px;
        padding-right: 10px;
    }

    .search-button {
        padding: 16px 12px;
    }
}

/* Loading animation */
.search-button.loading {
    pointer-events: none;
}

.search-button.loading .search-button-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Demo styles */
.demo-section {
    margin-bottom: 40px;
}

.demo-title {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.demo-subtitle {
    color: black;
    margin: 10px;
    font-size: 14px;
}


.checkbox-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 100%;
}

.checkbox-header {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.checkbox-wrapper {
    display: flex;
    gap: 8px;
    flex-flow: wrap;
    justify-content: center;
}

.checkbox-item {
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.bold {
    font-weight: bold;
}

.white {
    color: #fff !important;
}

.checkbox-item:hover {
    transform: translateY(-1px);
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-display {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 12px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.checkbox-display:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.checkbox-box {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    margin-right: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.checkbox-box::before {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-display {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-display .checkbox-box {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-color: #4CAF50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-display .checkbox-box::before {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 480px) {
    .checkbox-container {
        padding: 15px;
        margin: 10px;
        max-width: 300px;
    }

    .checkbox-header {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .checkbox-display {
        padding: 6px 10px;
        font-size: 11px;
    }

    .checkbox-box {
        width: 12px;
        height: 12px;
        margin-right: 6px;
    }

    .checkbox-box::before {
        font-size: 9px;
    }
}


.range-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 100%;
}

.range-header {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dual-range-wrapper {
    position: relative;
    margin: 15px 0;
}

.range-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 15px 0;
}

.range-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 3px;
    transition: all 0.2s ease;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.range-input {
    position: absolute;
    top: -9px;
    width: 100%;
    height: 24px;
    background: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    pointer-events: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    transition: all 0.2s ease;
    border: 2px solid white;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.6);
}

.range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    transition: all 0.2s ease;
    border: 2px solid white;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.range-input::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.6);
}

.range-input::-moz-range-track {
    background: transparent;
    border: none;
}

.range-input.upper {
    z-index: 2;
}

.range-input.lower {
    z-index: 1;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    margin-top: 5px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.value-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 12px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    min-width: 60px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex: 1;
}

.value-display:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.range-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 400;
    padding: 0 5px;
}

@media (max-width: 480px) {
    .range-container {
        padding: 15px;
        margin: 10px;
        max-width: 300px;
    }

    .range-header {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .value-display {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 50px;
    }

    .range-labels {
        font-size: 9px;
    }

    .range-values {
        gap: 8px;
    }
}



.pagination-container {
    max-width: 600px;
    width: 100%;
    margin: 30px auto;
}

.pagination-header {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 12px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    min-width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pagination-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.pagination-item.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-item.prev,
.pagination-item.next {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
}

.pagination-item.dots {
    cursor: default;
    pointer-events: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

.pagination-item.dots:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
}

.pagination-info {
    text-align: center;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .pagination-container {
        padding: 15px;
        margin: 10px;
        max-width: 350px;
    }

    .pagination-header {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .pagination {
        gap: 6px;
    }

    .pagination-item {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 32px;
        height: 32px;
    }

    .pagination-item.prev,
    .pagination-item.next {
        padding: 6px 12px;
        font-size: 10px;
    }

    .pagination-info {
        font-size: 10px;
        margin-top: 12px;
    }
}

@media (max-width: 320px) {
    .pagination {
        gap: 4px;
    }

    .pagination-item {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 28px;
        height: 28px;
    }

    .pagination-item.prev,
    .pagination-item.next {
        padding: 5px 10px;
        font-size: 9px;
    }
}