/* Spotify Integration Frontend Styles */

.spotify-connect-container,
.spotify-connected-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.spotify-connect-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1DB954;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.spotify-connect-btn:hover {
    background-color: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.spotify-connect-btn svg {
    vertical-align: middle;
    margin-right: 8px;
}

.spotify-status {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.spotify-status svg {
    margin-right: 10px;
}

.spotify-connected-text {
    font-weight: 600;
    color: #1DB954;
}

.spotify-user-info,
.spotify-points,
.spotify-last-sync {
    margin: 8px 0;
    color: #666;
}

.spotify-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.spotify-sync-btn,
.spotify-disconnect-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.spotify-sync-btn {
    background-color: #1DB954;
    color: white;
}

.spotify-sync-btn:hover {
    background-color: #1ed760;
}

.spotify-disconnect-btn {
    background-color: #dc3545;
    color: white;
}

.spotify-disconnect-btn:hover {
    background-color: #c82333;
}

.spotify-sync-btn:disabled,
.spotify-disconnect-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spotify-connect-description,
.description {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* Stats Container */
.spotify-stats-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.spotify-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #1DB954;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
}

.stat-icon {
    font-size: 2em;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.badge-success {
    background-color: #1DB954;
    color: white;
}

.badge-muted {
    background-color: #ccc;
    color: #666;
}

/* My Account Section Styling */
.jody-spotify-my-account-section {
    border: 1px solid #DEB992;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    background: transparent;
}

.jody-spotify-my-account-section h3 {
    margin-top: 0;
}

.spotify-connection-status {
    background: transparent;
    padding: 0;
}

.spotify-connection-status p {
    margin: 10px 0;
}
