/* Pull Refresh Indicator (Gmail Style) */
.pull-refresh-indicator {
    position: fixed;
    top: -45px; /* Initially hidden just above viewport/safe area */
    margin-top: env(safe-area-inset-top, 0px); /* Safe area padding */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: top 0.3s ease, opacity 0.3s ease, transform 0.2s linear;
}

.pull-refresh-indicator i {
    color: #fff; /* Palko Pink */
    font-size: 24px;
    transition: transform 0.2s linear;
}

.pull-refresh-indicator.refreshing {
    top: 80px !important; /* Position when refreshing */
    opacity: 1 !important;
}

.pull-refresh-indicator.refreshing i {
    animation: refresh-spin 1s linear infinite;
}
