/* 임베드 모달 전용 스타일 */
.embed-modal-dialog {
    width: 850px !important;
    height: 650px !important;
    max-width: none !important;
    max-height: none !important;
    margin: 50px auto !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.embed-modal-content {
    height: 100% !important;
    overflow: hidden !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.embed-modal-content textarea {
    height: auto;
    min-height: auto;
}

.embed-modal-title {
    width: 100% !important;
    font-weight: bold !important;
    font-size: 26px !important;
    margin: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.embed-modal-header {
    flex-shrink: 0 !important;
    padding: 15px !important;
    border-bottom: 1px solid #dee2e6 !important;
    height: auto;
    flex: none !important;
    /* padding: 0; */
    background: transparent !important;
}

.embed-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 15px !important;
    max-height: calc(650px - 120px) !important;
}

.embed-modal-footer {
    flex-shrink: 0 !important;
    padding: 10px 15px !important;
    border-top: 1px solid #dee2e6 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.embed-modal-footer .btn {
    margin: 0 5px !important;
    padding: 8px 16px !important;
}

/* 모달 내부 컨텐츠 스타일 */
.embed-modal-body .form-group {
    margin-bottom: 15px !important;
}

.embed-modal-body .form-group label {
    font-weight: bold !important;
}

.embed-panel-name {
    margin: 5px 0 !important;
    padding: 8px !important;
    background: #f8f9fa !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.embed-script-example {
    font-size: 12px !important;
    color: #666 !important;
    margin-bottom: 5px !important;
}

.embed-script-highlight {
    background: #fffacd !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

.embed-script-container {
    position: relative !important;
}

.embed-script-textarea {
    width: 100% !important;
    /* height: 35px !important; */
    font-family: monospace !important;
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 8px !important;
    resize: none !important;
    font-size: 12px !important;
}

.embed-copy-button {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    background: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
    font-size: 11px !important;
    cursor: pointer !important;
}

.embed-info-box {
    background: #e3f2fd !important;
    padding: 12px !important;
    border-radius: 6px !important;
    margin-bottom: 15px !important;
}

.embed-info-text {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.embed-theme-container {
    background: #f8f9fa !important;
    padding: 12px !important;
    border-radius: 6px !important;
}

.embed-theme-item {
    margin-bottom: 8px !important;
    font-size: 13px !important;
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 30px;
}
.embed-theme-item .set-info{}
.embed-theme-item .preview-box{position: relative;height: 70px;}

.embed-theme-item:last-child {
    margin-bottom: 0 !important;
}

.embed-theme-code {
    font-size: 11px !important;
}

.embed-theme-desc {
    color: #666 !important;
    font-size: 11px !important;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .embed-modal-dialog {
        width: 95% !important;
        height: 67vh !important;
        margin: 15px auto !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .embed-modal-body {
        max-height: calc(67vh - 120px) !important;
    }
}

.cnwpanel-banner{
    position: absolute;
    display: flex;
box-shadow: 0 2px 12px rgba(0,0,0,0.15);
border-radius: 16px;
display: flex;
align-items: center;
padding: 12px 20px;
gap: 12px;
font-family: 'sans-serif';
}