/**
 * AzuraCast Bridge Frontend Styles
 *
 * @package RM_AzuraCast_Bridge
 */

/* Hidden items for progressive reveal ("load more" feature) */
.azuracast-hidden-item {
    display: none !important;
}

/* Load more button styling */
.azuracast-load-more {
    text-align: center;
    margin: 20px 0;
}

.azuracast-load-more-btn {
    background: #5cb13e;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.azuracast-load-more-btn:hover {
    background: #4a9632;
}

.azuracast-load-more-btn:active {
    background: #3d7a29;
}

/* Request button status colors */
.azuracast-request-available {
    color: #5cb13e !important;
}

.azuracast-request-song_cooldown,
.azuracast-request-user_cooldown,
.azuracast-request-not_requestable {
    color: #cccccc !important;
}

/* Search input wrapper with progress bar */
.azuracast-input-wrapper {
    position: relative;
    width: 100%;
}

.azuracast-input-wrapper input {
    width: 100%;
}

/* Progress bar under input */
.azuracast-search-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    border-radius: 0 0 4px 4px;
    background: #5cb13e;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.azuracast-search-progress.active {
    opacity: 1;
    animation: azuracast-fill 1.5s ease-in-out infinite;
}

@keyframes azuracast-fill {
    0% { width: 0; left: 0; }
    50% { width: 100%; left: 0; }
    51% { width: 100%; left: 0; }
    100% { width: 0; left: 100%; }
}

/* Search status messages */
.azuracast-search-status {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 6px;
    font-size: 0.85em;
    animation: azuracast-fade-in 0.2s ease;
}

@keyframes azuracast-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.azuracast-search-status.show {
    display: flex;
}

.azuracast-search-status .status-icon {
    font-size: 1.1em;
    flex-shrink: 0;
    vertical-align: middle;
}

.azuracast-search-status .status-text {
    flex: 1;
    font-weight: 500;
}

/* "Min 3 characters" hint - subtle gray */
.azuracast-search-hint {
    background: rgba(128, 128, 128, 0.08);
    color: #888;
    border: 1px solid rgba(128, 128, 128, 0.15);
}
