/* ==========================================================================
   DC Configurator Embed
   ========================================================================== */

.dc-cfg-embed {
    --dc-primary: #ef7a17;
    --dc-primary-rgb: 239, 122, 23;
    --dc-secondary: #032038;
    padding: 64px 0;
    font-family: 'Poppins', 'DM Sans', sans-serif;
}

.dc-cfg-embed__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.dc-cfg-embed__header {
    text-align: center;
    margin-bottom: 40px;
}

.dc-cfg-embed__eyebrow {
    display: inline-block;
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-size: 28px;
    font-weight: 400;
    color: var(--dc-primary);
    margin-bottom: 12px;
}

.dc-cfg-embed__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dc-secondary);
    margin: 0 0 16px;
    line-height: 1.2;
}

.dc-cfg-embed__subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tabs */
.dc-cfg-embed__tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.dc-cfg-embed__tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.dc-cfg-embed__tab:hover {
    color: var(--dc-secondary);
    border-color: var(--dc-secondary);
}

.dc-cfg-embed__tab--active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(var(--dc-primary-rgb), 0.3);
}

.dc-cfg-embed__tab--active:hover {
    color: #ffffff;
    border-color: transparent;
}

.dc-cfg-embed__tab-icon {
    display: flex;
    width: 22px;
    height: 22px;
}

.dc-cfg-embed__tab-icon svg {
    width: 100%;
    height: 100%;
}

/* Panels */
.dc-cfg-embed__panel {
    display: none;
}

.dc-cfg-embed__panel--active {
    display: block;
    animation: dc-cfg-fade 0.3s ease;
}

@keyframes dc-cfg-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dc-cfg-embed__iframe {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .dc-cfg-embed {
        padding: 40px 0;
    }

    .dc-cfg-embed__title {
        font-size: 1.6rem;
    }

    .dc-cfg-embed__tabs {
        flex-direction: column;
        gap: 8px;
    }

    .dc-cfg-embed__tab {
        justify-content: center;
    }

    .dc-cfg-embed__iframe {
        border-radius: 10px;
    }
}
