.jd-image-modal-title {
        font-weight: bold;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .jd-image-modal-content-text {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
        font-size: 14px;
    }

    .jd-image-size-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .jd-image-size-row {
        display: flex;
        gap: 28px;
        flex-wrap: wrap;
    }

    .jd-image-size-field {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .jd-image-size-input {
        width: 80px;
    }

    .jd-image-upload-header {
        margin-bottom: 12px;
    }

    .jd-image-upload-header-main {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
    }

    .jd-image-upload-header .button-group {
        margin-top: 8px;
    }

    .jd-preview-device-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        margin-bottom: 2px;
        border: 1px solid #f47452;
        border-radius: 4px;
        overflow: hidden;
        background: #fff;
    }

    .jd-preview-device-toggle button {
        min-width: 70px;
        height: 32px;
        border: 0;
        border-right: 1px solid #f47452;
        background: #fff;
        color: #f47452;
        font-size: 13px;
        font-weight: 600;
        line-height: 32px;
        padding: 0 10px;
    }

    .jd-preview-device-toggle button:last-child {
        border-right: 0;
    }

    .jd-preview-device-toggle button.active {
        background: #f47452;
        color: #fff;
    }

    .jd-preview-device-toggle button i {
        margin-right: 4px;
    }

    .jd-image-preview-box-wide {
        width: 100%;
        min-height: 260px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .jd-image-preview-box-wide.has-image {
        display: block;
        min-height: 0;
        text-align: left;
    }

    .jd-image-preview-scale-stage {
        flex: 0 0 auto;
        will-change: transform;
    }

    .jd-image-preview-scale-stage .jd-preview-image {
        max-height: none;
    }

    .jd-image-text-editor-wrap {
        margin-top: 10px;
    }

    .jd-image-basic-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        gap: 8px 24px;
        align-items: start;
    }

    .jd-image-alt-setting {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .jd-text-section-row {
        display: flex;
        align-items: stretch;
        min-height: 170px;
    }

    .jd-text-option-list {
        flex: 0 0 360px;
        max-width: 360px;
        border-right: 1px solid #ddd;
        padding-right: 14px;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .jd-text-setting-panel {
        flex: 1 1 auto;
        min-width: 0;
        padding-left: 16px;
        display: flex;
        align-items: center;
    }

    .jd-text-overlay-setting {
        display: flex;
        align-items: flex-start;
        gap: 28px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .jd-text-position-setting {
        flex: 0 0 auto;
    }

    .jd-text-help {
        color: #999;
        font-size: 12px;
        margin: 0 0 10px;
    }

    .jd-text-margin-table {
        display: grid;
        grid-template-columns: 76px repeat(4, 58px);
        gap: 8px 10px;
        align-items: center;
    }

    .jd-text-margin-table-standalone {
        justify-content: flex-start;
    }

    .jd-text-margin-table-header {
        display: contents;
    }

    .jd-text-margin-table-header span {
        font-weight: bold;
        font-size: 13px;
        text-align: center;
    }

    .jd-text-margin-table-row {
        display: contents;
    }

    .jd-text-margin-table-label {
        font-weight: bold;
        white-space: nowrap;
    }

    .jd-text-margin-table input {
        width: 58px;
        text-align: center;
    }

    @media (max-width: 980px) {
        .jd-text-section-row {
            flex-direction: column;
        }

        .jd-text-option-list {
            flex: 0 0 auto;
            max-width: none;
            border-right: none;
            border-bottom: 1px solid #ddd;
            padding-right: 0;
            padding-bottom: 12px;
            margin-bottom: 12px;
        }

        .jd-text-setting-panel {
            padding-left: 0;
        }
    }

    .number-input-wrapper {
        position: relative;
        width: 80px;
    }

    .number-input-wrapper input {
        width: 100%;
        padding-left: 24px;   /* 왼쪽 아이콘 공간 */
        padding-right: 24px;  /* 오른쪽 스테퍼 공간 */
        text-align: center;
        font-size: 14px;
    }

    .input-icon-left {
        position: absolute;
        left: 6px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        pointer-events: none;
    }

    .number-stepper {
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .number-stepper button {
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 10px;
    }

    .number-stepper button:hover svg path {
        fill: #333;
    }

    .number-stepper button:active svg path {
        fill: #999;
    }

    .number-stepper svg {
        display: block;
    }

    .panel-default > .panel-heading {
        background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%) !important;
    }