/* SYMBOL EDITOR STICKY BAR CSS */

.acnm-result-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.acnm-result-textarea {
    width: 100% !important;
    border-radius: 8px !important;
}

.acnm-copy-btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.btn-danger {}

.btn-danger:hover {
    background: #c82333;
}

/* ============================================
   HEADER & STICKY
   ============================================ */

.symbol-editor-sticky-bar .tools-inner {
    background-color: #f9f9f9;
    border-radius: 5px;
}

.symbol-editor-sticky-bar.is-sticky {
    position: fixed;
    top: 5px;
    padding: 5px 0;
    background: #fff;
    z-index: 2;
    border-radius: 5px;
}


/* ----------------------------------------
   MOBILE - Màn hình <= 768px (Điện thoại & Tablet)
   ---------------------------------------- */
@media (max-width: 768px) {
    .symbol-editor-sticky-bar .tools-inner {
        padding: 1px 1px 1px 1px;
        margin: 0px;
    }

    .symbol-editor-sticky-bar.is-sticky {
        top: 5px !important;
    }

    /* Khi thanh công cụ bị "dính" (is-sticky), làm cho .tools-inner giãn ra hai bên */
    .symbol-editor-sticky-bar.is-sticky .tools-inner {
        margin: 0px -15px;
    }

    .symbol-editor-sticky-bar .result-textarea {
        font-size: 16px;
        margin-bottom: 1px;
    }

    .symbol-editor-sticky-bar .acnm-copy-text {
        font-size: 80% !important;
    }
}

/* ============================================
   FORM CONTROLS
   ============================================ */

.symbol-editor-sticky-bar textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    overflow: auto;
}

.symbol-editor-sticky-bar .input-control {
    display: block;
    width: 100%;
    padding: 8px 15px;
    margin: 4px 0 -3px;
    font-size: 100%;
    border: 2.5px solid #f6f6f6;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none;

    appearance: none;
    transition: border-color 0.3s ease;
}

.symbol-editor-sticky-bar .input-control:hover {
    border-color: #4353ff;
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.1);
}

.symbol-editor-sticky-bar .input-control:focus {
    outline: none;
    border-color: #054fcb;
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.1);
    z-index: 3;
}

.symbol-editor-sticky-bar .input-control::placeholder {
    font-style: italic;
    color: #aaa;
}

.symbol-editor-sticky-bar .input-control[readonly] {
    background-color: #eee;
}

.symbol-editor-sticky-bar .input-control[disabled] {
    cursor: not-allowed;
}

.symbol-editor-sticky-bar .input-lg {
    padding: 10px 2px;
    font-size: 90%;
    line-height: 1.3333333;
}

/* ============================================
   INPUT GROUP
   ============================================ */

.symbol-editor-sticky-bar .input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.symbol-editor-sticky-bar .input-group .input-control {
    flex: 1;
    margin: 1px;
    border-radius: 6px;
}

.symbol-editor-sticky-bar .input-addon {
    display: flex;
}


.symbol-editor-sticky-bar .input-addon>.btn-primary {
    margin-left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.symbol-editor-sticky-bar .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    cursor: pointer;
    background-image: none;
    user-select: none;
    text-align: center;
    white-space: nowrap;

    color: #fff;
    background: #3c4148;
    border: 1px solid #3c4149;
    padding: 2px 10px;
    font-size: 80%;
    line-height: 1.5;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.symbol-editor-sticky-bar .btn-primary:hover {
    background: #0000ff;
    border-color: #0000ff;
    text-decoration: none;
}

.symbol-editor-sticky-bar .btn-primary:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.symbol-editor-sticky-bar .btn-primary[disabled] {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}



.symbol-editor-sticky-bar .acnm-copy-text {
    font-size: 100%;
}