/* Wavedd Streaming Tab - v1.1.0 */

/* ---- Trigger button ---- */
.wvdst-trigger-wrap {
    margin: 12px 0;
    display: inline-block;
}

.wvdst-open-modal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.wvdst-open-modal:hover {
    background: #1a1a1a;
    border-color: #00e5a0;
    color: #00e5a0;
}

/* ---- Modal overlay ---- */
.wvdst-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.wvdst-modal-overlay.wvdst-modal-visible {
    display: flex;
}

.wvdst-no-scroll {
    overflow: hidden;
}

/* ---- Modal box ---- */
.wvdst-modal {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    font-family: 'Space Grotesk', sans-serif;
    color: #f0f0f0;
    animation: wvdst-slide-up 0.25s ease;
}

@keyframes wvdst-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wvdst-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #222;
}

.wvdst-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.wvdst-close-modal {
    background: none;
    border: none;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.wvdst-close-modal:hover {
    color: #fff;
}

.wvdst-modal-body {
    padding: 20px;
}

/* ---- Label note ---- */
.wvdst-label-note {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
}

/* ---- Platform tabs ---- */
.wvdst-platform-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wvdst-ptab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid #333;
    background: transparent;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.wvdst-ptab:hover {
    border-color: #555;
    color: #fff;
}

.wvdst-ptab-active {
    background: #00e5a0;
    border-color: #00e5a0;
    color: #000 !important;
}

/* ---- Embed panels ---- */
.wvdst-embed-panel {
    display: none;
}

.wvdst-embed-active {
    display: block;
}

.wvdst-open-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.wvdst-open-link:hover {
    color: #00e5a0;
}

/* ---- Apple Music placeholder ---- */
.wvdst-apple-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 50px 20px;
    background: #0a0a0a;
    border-radius: 10px;
    text-align: center;
}

.wvdst-apple-placeholder p {
    color: #ccc;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.wvdst-apple-btn {
    display: inline-block;
    padding: 11px 26px;
    background: #fc3c44;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.wvdst-apple-btn:hover {
    background: #e0353c;
    color: #fff;
}
