.pull-refresh-container {
    position: relative;
    overflow: hidden;
}

.pull-refresh-indicator {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: none;
    border-bottom: none;
}

.pull-refresh-indicator.visible {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pull-refresh-spinner {
    width: 24px;
    height: 24px;
    position: relative;
    margin-bottom: 8px;
}

.pull-refresh-arrow {
    font-size: 18px;
    color: #666;
    transition: transform 0.3s ease;
    line-height: 1;
}

.pull-refresh-arrow.rotated {
    transform: rotate(180deg);
}

.pull-refresh-loading {
    display: none;
    width: 24px;
    height: 24px;
}

.loading-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-left-color: #0A5;
    border-radius: 50%;
    animation: pull-refresh-spin 1s linear infinite;
}

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

.pull-refresh-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    transition: color 0.3s ease;
}

.pull-refresh-indicator.ready .pull-refresh-text {
    color: #0A5;
}

.pull-refresh-indicator.loading .pull-refresh-arrow {
    display: none;
}

.pull-refresh-indicator.loading .pull-refresh-loading {
    display: block;
}

.pull-refresh-indicator.loading .pull-refresh-text {
    color: #0A5;
}

/* Prevent overscroll on iOS */
.pull-refresh-container {
    -webkit-overflow-scrolling: touch;
}

body.pull-refreshing {
    overflow: hidden;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .pull-refresh-indicator {
        background: rgba(255, 255, 255, 0.98);
    }
}