/* Store Links Styles */

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title .dashicons-info {
    font-size: 18px;
    color: #666;
}

#store-links-container {
    margin-bottom: 15px;
}

.store-link-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.store-link-item:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.store-link-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.store-type-select {
    flex: 0 0 200px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.store-url-input {
    flex: 1;
    min-width: 250px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.store-type-select:focus,
.store-url-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.store-custom-icon {
    flex: 0 0 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.store-custom-icon::-webkit-file-upload-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
}

.store-custom-icon::-webkit-file-upload-button:hover {
    background: #005a87;
}

.remove-store-link-btn {
    background: #dc3232;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease;
}

.remove-store-link-btn:hover {
    background: #a00;
}

.remove-store-link-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.store-link-error {
    padding: 8px 12px;
    background: #ffebee;
    border-left: 3px solid #dc3232;
    border-radius: 4px;
    font-size: 13px;
}

.add-store-link-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.add-store-link-btn:hover {
    background: #005a87;
}

.add-store-link-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Store Links Display (Frontend) */
.song-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.store-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.store-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.store-link-button img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .store-type-select {
        flex: 0 0 100%;
    }

    .store-url-input {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .remove-store-link-btn {
        flex: 0 0 100%;
    }
}

