._pc-prompt-box-input-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 var(--content-padding);

    /*--prompt-container-height: 200px;*/
    --prompt-container-height: 150px;
    height: var(--prompt-container-height);

    --control-bar-height: 50px;

    --padding: 16px;
}

._pc-prompt-box-input-wrapper.floating {
    /*top: 0;*/
    bottom: 0;
    background: rgba(0,0,0,0.5);
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;

    padding-top: 10px;

    position: fixed;
    z-index: 1000;

}

/*PC端浮动样式*/
._pc-prompt-box-input-wrapper.floating-pc {}


._pc-prompt-box-input-wrapper.floating-mobile {
    align-items: flex-start;
}




/* 输入框容器 */
._pc-prompt-box-input-container {

    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    flex-direction: column;

    height: var(--prompt-container-height);

    border: 1px solid var(--text-color-1);
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

._pc-prompt-box-input-container .word-counter-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

._pc-prompt-box-input-container .word-counter {
    background: #f2f2f2;
    padding: 3px 5px;
    font-size: 12px;
    border-radius: 5px;
    margin-right: 10px;
    bottom: calc(var(--control-bar-height) + 10px);
    display: none;
    color: var(--text-color-5);
}


._pc-prompt-box-input-container .word-counter.red {
    color: red;
}

/* 多行文本输入框 */
._pc-prompt-box-text-input {
    flex: 1;
    width: 100%;
    /*height: var(--prompt-container-height);*/
    padding: var(--padding);
    /*padding-bottom: 100px;*/
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    outline: none;
    background: none;
    resize: none;
    border: none;
}

._pc-prompt-box-input-container.focus {
    border: 1.5px solid var(--text-color);
}

._pc-prompt-box-text-input::placeholder {
    color: #999;
}

/* 底部控件容器 */
._pc-prompt-box-input-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;


    padding: 3px var(--padding);
    padding-right: 4px;
    /*height: var(--control-bar-height);*/

    --control-btn-height: 40px;
}

/* 左侧控件组 */
._pc-prompt-box-control-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 下拉选择器样式 */
._pc-prompt-box-dropdown {
    position: relative;
}

._pc-prompt-box-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 60px;
    height: var(--control-btn-height);
    background: transparent;
    border: 1.5px solid var(--text-color-0-5);
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 12px;
    background: white;
}

._pc-prompt-box-dropdown-toggle * {
    font-size: inherit;
}

._pc-prompt-box-dropdown-toggle:hover {
    /*border-color: var(--text-color-5);*/
}

.dictionary-btn {
    height: var(--control-btn-height);
    border: 1.5px solid var(--text-color-0-5);
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 14px;
}




.dictionary-btn i {
    margin-right: 8px;
    font-size: inherit;
}

._pc-prompt-box-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 120px;
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    margin-top: 8px;
    overflow: hidden;
}

._pc-prompt-box-dropdown-menu.up {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 8px;
}

._pc-prompt-box-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0s;
    border-bottom: 1px solid #f5f5f5;
}

._pc-prompt-box-dropdown-item:last-child {
    border-bottom: none;
}

._pc-prompt-box-dropdown-item:hover {
    background: #f8f9fa;
}

._pc-prompt-box-dropdown-item.active {
    background: #f0f7ff;
    color: #007aff;
}

/* 尺寸图标 */
._pc-prompt-box-size-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 16px;
    /*background: #f0f0f0;*/
    /*border: 1px solid #ddd;*/
    border-radius: 3px;
}

._pc-prompt-box-size-icon.horizontal {
    width: 32px;
    height: 18px;
}

._pc-prompt-box-size-icon.vertical {
    width: 18px;
    height: 32px;
}


._pc-prompt-box-input-controls .right {
    display: flex;
    align-items: center;
}

._pc-prompt-box-input-controls .right .coin {
    font-size: 12px;
    margin-right: 16px;
    color: var(--text-color-5);
}

._pc-prompt-box-input-controls .right .coin i {
    color: var(--coin-color);
}

._pc-prompt-box-input-controls .right .coin * {
    font-size: inherit;
}

/* 圆形生成按钮 */
._pc-prompt-box-generate-btn {
    width: 50px;
    height: 50px;
    background: var(--text-color-0-5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: not-allowed;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

._pc-prompt-box-generate-btn.active {
    background: var(--primary-btn-bg);
    color: var(--primary-btn-text-color);
    cursor: pointer;
}

._pc-prompt-box-generate-btn.active:hover {
    transform: scale(1.05);
}

._pc-prompt-box-generate-btn.active:active {
    transform: scale(0.95);
}


._pc-prompt-box-input-wrapper.floating {
    position: sticky;
    /*top: calc(100vh - var(--prompt-container-height) - 10px);*/
    top: calc(var(--nav-height) + 10px);
    left: 0;
    right: 0;
    z-index: 1;
}



