/* SYMBOL EDITOR STICKY BAR CSS */

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

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

.acnm-copy-btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 2px 2px 2px 2px;
    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;
}


/* ----------------------------------------
   MODAL INSERT TEXT
   ---------------------------------------- */
.acnm-insert-text-modal-wrapper {
    position: absolute;
    top: 120%;
    right: 0;
    width: 300px;
    max-width: 90vw;
    background: transparent;
    z-index: 1000;
    text-align: left;
}


/* ============================================
   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: 0px 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%;
}
/* ==================================================
   ACNM CUSTOM CLEAR MODAL STYLE
   ================================================== */
.symbol-editor-sticky-bar .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.symbol-editor-sticky-bar .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.symbol-editor-sticky-bar .modal-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.symbol-editor-sticky-bar .modal-content {
    padding: 0px;
}

.symbol-editor-sticky-bar .modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.symbol-editor-sticky-bar .modal-title {
    display: block;
    margin: 0;
    font-size: 1.0rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.symbol-editor-sticky-bar .modal-close {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.symbol-editor-sticky-bar .modal-close:hover {
    color: #ef4444;
}

.symbol-editor-sticky-bar .modal-body {
    margin: 10px;
    margin-bottom: 24px;
}

.symbol-editor-sticky-bar #clear-modal-message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #4b5563;
    white-space: pre-line;
}

.symbol-editor-sticky-bar .modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin: 10px;
}

.symbol-editor-sticky-bar .modal-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.symbol-editor-sticky-bar .modal-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.symbol-editor-sticky-bar .modal-btn-cancel:hover {
    background: #e5e7eb;
}

.symbol-editor-sticky-bar .modal-btn-confirm {
    background: #4353ff;
    color: #ffffff;
}

.symbol-editor-sticky-bar .modal-btn-confirm:hover {
    background: #3644dd;
}
