/**
 * Unified Modal Styles
 * 
 * @package RadioPlayerTujuhCahaya
 * @since 1.3.0
 */

/* ========================================
   MODAL BASE STYLES
   ======================================== */

.rptc-modal,
.rptc-history-modal,
.rptc-request-modal {
    --bg-color: #2a2a2e;
    --text-color: #ffffff;
    --text-color-muted: #b3b3b3;
    --border-color: #404044;
    --shadow-color: rgba(0,0,0,0.5);
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rptc-modal-overlay,
.rptc-history-modal-overlay,
.rptc-request-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.rptc-modal-content,
.rptc-history-modal-content,
.rptc-request-modal-content {
    position: relative;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-color);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rptc-request-modal-content {
    max-width: 500px;
}

.rptc-modal-header,
.rptc-history-modal-header,
.rptc-request-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.rptc-modal-title,
.rptc-history-modal-title,
.rptc-request-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.rptc-modal-close,
.rptc-history-modal-close,
.rptc-request-modal-close {
    background: none;
    border: none;
    color: var(--text-color-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rptc-modal-close:hover,
.rptc-history-modal-close:hover,
.rptc-request-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.rptc-modal-close svg,
.rptc-history-modal-close svg,
.rptc-request-modal-close svg {
    width: 20px;
    height: 20px;
}

.rptc-modal-body,
.rptc-history-modal-body,
.rptc-request-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    position: relative;
}

.rptc-request-modal-body {
    padding: 24px;
}

/* ========================================
   UNIFIED LOADING SYSTEM
   ======================================== */

/* Unified Loading States */
.rptc-loading-state,
.rptc-error-state,
.rptc-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    min-height: 300px;
    width: 100%;
    box-sizing: border-box;
}

/* Spinner - Clean and centered */
.rptc-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--text-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
    margin-bottom: 24px;
}

/* Loading text */
.rptc-loading-text {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

/* Error state */
.rptc-error-icon {
    width: 48px;
    height: 48px;
    color: var(--text-color-muted);
    flex-shrink: 0;
    margin-bottom: 24px;
}

.rptc-error-text {
    margin: 0 0 20px 0;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

/* Empty state */
.rptc-empty-icon {
    width: 64px;
    height: 64px;
    color: var(--text-color-muted);
    opacity: 0.6;
    flex-shrink: 0;
    margin-bottom: 24px;
}

.rptc-empty-text {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

/* Retry button */
.rptc-retry-btn {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rptc-retry-btn:hover {
    background: var(--text-color-muted);
    transform: translateY(-1px);
}

/* Error state */
.rptc-error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 300px;
    width: 100%;
}

.rptc-error-icon {
    width: 48px;
    height: 48px;
    color: var(--text-color-muted);
    flex-shrink: 0;
}

.rptc-error-text {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

/* Empty state */
.rptc-empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 300px;
    width: 100%;
}

.rptc-empty-icon {
    width: 64px;
    height: 64px;
    color: var(--text-color-muted);
    opacity: 0.6;
    flex-shrink: 0;
}

.rptc-empty-text {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

/* Retry button */
.rptc-retry-btn {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.rptc-retry-btn:hover {
    background: var(--text-color-muted);
    transform: translateY(-1px);
}

/* Request modal specific spinner */
.rptc-request-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: var(--text-color-muted);
    font-size: 14px;
}

.rptc-request-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--text-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   SONG HISTORY MODAL
   ======================================== */

.rptc-history-list {
    max-height: 60vh;
    overflow-y: auto;
}

.rptc-history-loading .rptc-history-list {
    display: none;
}

.rptc-history-skeleton {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.rptc-history-skeleton:last-child {
    border-bottom: none;
}

.rptc-history-skeleton-artwork {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--border-color) 25%, rgba(255,255,255,0.1) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-right: 16px;
}

@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.rptc-history-skeleton-info {
    flex: 1;
    min-width: 0;
}

.rptc-history-skeleton-title {
    height: 16px;
    background: linear-gradient(90deg, var(--border-color) 25%, rgba(255,255,255,0.1) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
    width: 70%;
}

.rptc-history-skeleton-artist {
    height: 14px;
    background: linear-gradient(90deg, var(--border-color) 25%, rgba(255,255,255,0.1) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    width: 50%;
}

.rptc-history-skeleton-time {
    height: 12px;
    background: linear-gradient(90deg, var(--border-color) 25%, rgba(255,255,255,0.1) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    width: 60px;
    margin-left: 12px;
    flex-shrink: 0;
}

.rptc-history-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    background-color: var(--bg-color);
}

.rptc-history-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.rptc-history-item:last-child {
    border-bottom: none;
}

.rptc-history-item.playing {
    background-color: rgba(103, 80, 164, 0.1);
    border-left: 3px solid var(--primary-color);
}

.rptc-history-artwork {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--border-color);
    margin-right: 16px;
}

.rptc-history-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.rptc-history-info {
    flex: 1;
    min-width: 0;
}

.rptc-history-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rptc-history-artist {
    font-size: 14px;
    color: var(--text-color-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rptc-history-time {
    font-size: 12px;
    color: var(--text-color-muted);
    margin-left: 12px;
    flex-shrink: 0;
}

.rptc-history-item.playing .rptc-history-time {
    color: var(--primary-color);
    font-weight: 500;
}

/* ========================================
   LYRICS MODAL
   ======================================== */

.rptc-modal#rptc-lyrics-modal .rptc-modal-content {
    /* Width tuned but not too wide to preserve scrollbar behavior */
    max-width: 680px;
}

.rptc-lyrics-content {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

.rptc-lyrics-song-info {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.rptc-lyrics-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.rptc-lyrics-artist {
    font-size: 18px;
    color: var(--text-color-muted);
    margin: 0;
    line-height: 1.3;
}

.rptc-lyrics-text {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
    white-space: pre-line;
    width: 100%;
    box-sizing: border-box;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    /* Consistent scrollbar styling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.06);
}

/* WebKit scrollbars for lyrics box */
.rptc-lyrics-text::-webkit-scrollbar {
    width: 10px;
}
.rptc-lyrics-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.rptc-lyrics-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.rptc-lyrics-text::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.38);
}

.rptc-lyrics-text p {
    margin: 0 0 16px 0;
    line-height: 1.8;
}

.rptc-lyrics-text p:last-child {
    margin-bottom: 0;
}

.rptc-lyrics-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.rptc-lyrics-source {
    font-size: 13px;
    color: var(--text-color-muted);
    margin: 0;
    line-height: 1.4;
}

.rptc-lyrics-source a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.rptc-lyrics-source a:hover {
    color: var(--text-color-muted);
    text-decoration: underline;
}

/* Song Info Fallback Content */
.rptc-info-content {
    padding: 24px;
}

.rptc-info-fallback-notice {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    text-align: center;
}

.rptc-info-fallback-notice p {
    margin: 0;
    color: #ffc107;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.rptc-info-song-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.rptc-info-album-art {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--border-color);
}

.rptc-info-album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rptc-info-song-details {
    flex: 1;
    min-width: 0;
}

.rptc-info-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.rptc-info-artist {
    font-size: 18px;
    color: var(--text-color-muted);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.rptc-info-album {
    font-size: 16px;
    color: var(--text-color-muted);
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

.rptc-info-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rptc-info-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.rptc-info-section h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.rptc-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rptc-info-item:last-child {
    border-bottom: none;
}

.rptc-info-label {
    font-size: 14px;
    color: var(--text-color-muted);
    font-weight: 500;
}

.rptc-info-value {
    font-size: 14px;
    color: var(--text-color);
    text-align: right;
}

.rptc-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(103, 80, 164, 0.1);
    border: 1px solid rgba(103, 80, 164, 0.2);
    transition: all 0.2s ease;
    font-weight: 500;
}

.rptc-info-link:hover {
    background: rgba(103, 80, 164, 0.2);
    border-color: rgba(103, 80, 164, 0.3);
    text-decoration: none;
    color: var(--text-color);
}

.rptc-info-link svg {
    width: 16px;
    height: 16px;
}

/* Retry Button */
.rptc-retry-btn {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.rptc-retry-btn:hover {
    background: var(--text-color-muted);
    transform: translateY(-1px);
}

/* ========================================
   REQUEST MODAL
   ======================================== */

.rptc-request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Request search bar */
.rptc-request-content .rptc-request-search {
    display: flex;
    gap: 8px;
    margin: 12px;
}

.rptc-request-content .rptc-request-query {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.rptc-request-content .rptc-request-query::placeholder {
    color: var(--text-color-muted);
}

.rptc-request-content .rptc-request-search-btn {
    padding: 11px 18px;
    border-radius: 8px;
    border: 1px solid rgba(103, 80, 164, 0.3);
    cursor: pointer;
    background: rgba(103, 80, 164, 0.2);
    color: var(--text-color);
}

/* Request status banner */
.rptc-request-status {
    margin: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(103, 80, 164, 0.3);
    background: rgba(103, 80, 164, 0.12);
    color: var(--text-color);
    font-size: 14px;
}

/* Request list items reuse history layout; style the button */
.rptc-request-list .rptc-request-item .rptc-request-btn {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(103, 80, 164, 0.3);
    cursor: pointer;
    background: rgba(103, 80, 164, 0.2);
    color: var(--text-color);
}

.rptc-request-list .rptc-request-item .rptc-request-btn:hover {
    background: rgba(103, 80, 164, 0.3);
}

/* Request item layout mirrors history spacing */
.rptc-request-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    background-color: var(--bg-color);
}
.rptc-request-item:last-child { border-bottom: none; }
.rptc-request-item:hover { background-color: rgba(255, 255, 255, 0.05); }

.rptc-request-artwork {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--border-color);
    margin-right: 16px;
}
.rptc-request-artwork img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }

.rptc-request-info { flex: 1; min-width: 0; }
.rptc-request-title { font-size: 16px; font-weight: 500; color: var(--text-color); margin: 0 0 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rptc-request-artist { font-size: 14px; color: var(--text-color-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rptc-request-time { margin-left: 12px; flex-shrink: 0; }

/* Request list scroll container and scrollbar consistent with lyrics */
.rptc-request-list {
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.06);
}

/* Avoid double scrollbars: request modal body should not scroll */
#rptc-request-modal .rptc-modal-body {
    overflow: hidden;
}

/* Avoid double scrollbars for lyrics modal; main body shouldn't scroll */
#rptc-lyrics-modal .rptc-modal-body {
    overflow: hidden;
}

.rptc-request-list::-webkit-scrollbar {
    width: 10px;
}
.rptc-request-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.rptc-request-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.rptc-request-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.38);
}

.rptc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rptc-form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.rptc-form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.rptc-form-input:focus {
    outline: none;
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.08);
}

.rptc-form-input::placeholder {
    color: var(--text-color-muted);
}

.rptc-form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

.rptc-form-textarea:focus {
    outline: none;
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.08);
}

.rptc-form-textarea::placeholder {
    color: var(--text-color-muted);
}

/* Submit Button */
.rptc-request-submit {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
    min-width: 120px;
}

.rptc-request-submit:hover {
    background: var(--text-color-muted);
    transform: translateY(-1px);
}

.rptc-request-submit:disabled {
    background: var(--border-color);
    color: var(--text-color-muted);
    cursor: not-allowed;
    transform: none;
}

/* Success/Error Messages */
.rptc-request-message {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}

.rptc-request-message.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.rptc-request-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.rptc-request-message.show {
    display: block;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 767.98px) {
    .rptc-modal,
    .rptc-history-modal,
    .rptc-request-modal {
        padding: 12px;
    }
    
    .rptc-modal-content,
    .rptc-history-modal-content,
    .rptc-request-modal-content {
        max-height: 85vh;
    }
    
    .rptc-modal-header,
    .rptc-history-modal-header,
    .rptc-request-modal-header {
        padding: 16px 20px;
    }
    
    .rptc-modal-title,
    .rptc-history-modal-title,
    .rptc-request-modal-title {
        font-size: 18px;
    }
    
    /* Loading States - Mobile */
    .rptc-loading-container {
        padding: 30px 20px;
    }
    
    .rptc-loading-content,
    .rptc-error-content,
    .rptc-empty-content {
        max-width: 280px;
        gap: 16px;
    }
    
    .rptc-spinner {
        width: 36px;
        height: 36px;
    }
    
    .rptc-loading-text,
    .rptc-error-text,
    .rptc-empty-text {
        font-size: 14px;
    }
    
    .rptc-error-icon {
        width: 40px;
        height: 40px;
    }
    
    .rptc-empty-icon {
        width: 56px;
        height: 56px;
    }
    
    .rptc-request-loading {
        padding: 16px;
        font-size: 13px;
    }
    
    .rptc-request-spinner {
        width: 18px;
        height: 18px;
    }
    
    /* Song History Mobile */
    .rptc-history-item {
        padding: 10px 20px;
    }
    
    .rptc-history-artwork {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
    .rptc-history-artwork img {
        border-radius: 4px;
    }
    
    .rptc-history-title {
        font-size: 15px;
    }
    
    .rptc-history-artist {
        font-size: 13px;
    }
    
    .rptc-history-time {
        font-size: 11px;
    }
    
    /* Lyrics Mobile */
    .rptc-lyrics-content {
        padding: 20px;
    }
    
    .rptc-lyrics-song-info {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .rptc-lyrics-title {
        font-size: 20px;
    }
    
    .rptc-lyrics-artist {
        font-size: 16px;
    }
    
    .rptc-lyrics-text {
        font-size: 15px;
        max-height: 300px;
        padding: 16px;
    }
    
    .rptc-info-content {
        padding: 20px;
    }
    
    .rptc-info-song-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .rptc-info-album-art {
        width: 120px;
        height: 120px;
    }
    
    .rptc-info-title {
        font-size: 20px;
    }
    
    .rptc-info-artist {
        font-size: 16px;
    }
    
    .rptc-info-album {
        font-size: 14px;
    }
    
    .rptc-info-details {
        gap: 20px;
    }
    
    .rptc-info-section {
        padding: 16px;
    }
    
    .rptc-info-section h5 {
        font-size: 16px;
    }
    
    .rptc-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .rptc-info-value {
        text-align: left;
    }
    
    /* Request Modal Mobile */
    .rptc-request-modal-body {
        padding: 20px;
    }
    
    .rptc-request-form {
        gap: 16px;
    }
    
    .rptc-form-input,
    .rptc-form-textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .rptc-request-submit {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
    }
}
