.srcreator-designer { margin: 14px 0; }

/* CTA wrapper — repeated in several spots (below the manual dropdowns and next
   to the send-file options). Keeps each button visually separated. */
.srcreator-designer-cta { margin: 14px 0; }

.srcreator-designer__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #65b32e;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background .15s ease;
}
.srcreator-designer__btn:hover { background: #57991f; color: #fff; }
.srcreator-designer__btn:disabled { opacity: .6; cursor: default; }

.srcreator-designer__msg { margin: 8px 0 0; font-size: 13px; color: #555; }

.srcreator-designer__modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000; /* above the sticky site header */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* The HTML `hidden` attribute must win over the display above, otherwise the
   modal shows on page load ("del tirón"). Keep these [hidden] guards. */
.srcreator-designer__modal[hidden],
.srcreator-designer__loading[hidden] {
    display: none !important;
}
.srcreator-designer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.srcreator-designer__dialog {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: min(1500px, 98vw);
    height: 95vh;
    max-height: 95vh;
    overflow: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.srcreator-designer__x {
    position: absolute;
    top: 6px;
    right: 12px;
    z-index: 2;
    background: transparent;
    border: 0;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}
.srcreator-designer__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 15px;
}
.srcreator-designer__iframe {
    display: block;
    width: 100%;
    min-height: 70vh;
    border: 0;
}
body.srcreator-designer-open { overflow: hidden; }
