/* Loading spinner for dynamic content */
.ios-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

.ios-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Device list item with image */
.ios-list-item-with-image {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ios-list-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.ios-list-item-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.ios-list-item-text {
    flex: 1;
    min-width: 0;
}

.ios-list-item-title {
    font-size: 17px;
    color: var(--ios-label-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ios-list-item-subtitle {
    font-size: 15px;
    color: var(--ios-label-secondary);
    margin-top: 2px;
}

.ios-list-item-accessory {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
