.tct-sg-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.tct-sg-input {
    width: 100%;
    min-height: 260px;
    padding: 18px;
    border: 1px solid #dcdcdc;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

.tct-sg-input:focus {
    outline: none;
    border-color: #9f9f9f;
}

.tct-sg-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.tct-sg-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #111827;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
    cursor: pointer;
}

.tct-sg-icons {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.tct-sg-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #222 !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.tct-sg-icon:hover {
    border-color: #bdbdbd !important;
    background: #fafafa !important;
    transform: translateY(-1px);
}

.tct-sg-icon svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    fill: none !important;
    stroke: #222 !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    overflow: visible !important;
}

.tct-sg-icon svg path {
    fill: none !important;
    stroke: #222 !important;
}

.tct-sg-status {
    min-height: 22px;
    margin-top: 8px;
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .tct-sg-input {
        min-height: 220px;
    }

    .tct-sg-actions-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .tct-sg-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
}
