/* =========================================
   Global Resets & Preview Frame Wrapper
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Outer modern frame for the live preview */
.preview-frame {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #eaeaea;
    overflow: hidden;
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    z-index: 100;
}

/* Top bar of the preview frame */
.preview-frame-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

/* Pulsing green live indicator */
.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.header-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bottom bar with disclaimer */
.preview-frame-footer {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
    background-color: #fcfcfc;
    border-top: 1px solid #eaeaea;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.info-icon {
    flex-shrink: 0;
    margin-right: 12px;
    color: #3b3be8;
    margin-top: 1px;
}

/* Inner wrapper that handles the responsive scaling */
.preview-box-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f4f4f4;
    transition: height 0.1s ease-out;
    width: 100%;
}

/* Forces the content inside to act as if it's on a 1400px screen */
.preview-scaler {
    width: 1400px;
    transform-origin: top left;
}