.uqa-ask-question {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 640px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.uqa-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uqa-modal-header h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 600;
    color: #212529;
}

.uqa-modal-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.uqa-form-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.uqa-field label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.uqa-field input,
.uqa-field textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #DEE2E6;
    padding: 10px 16px;
    font-size: 14px;
}

.uqa-field input:focus,
.uqa-field textarea:focus {
    outline: none;
    border-color: #2745D7;
}

.uqa-char-count {
    margin-left: auto;
    font-size: 14px;
    color: #495057;
    text-align: end;
}

.uqa-error {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #dc2626;
    display: none;
}

.uqa-tag-btn {
    background: #F8F9FA;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    padding: 6px 20px;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
}

.uqa-tag-btn span {
    color: #E63946;
}

.uqa-actions {
    display: flex;
    justify-content: flex-end;
}

.uqa-actions button {
    background: #F72585;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 20px;
    font-size: 16px;
    cursor: pointer;
}

.uqa-actions button:hover {
    background: #D61D72;
}

.uqa-message {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

.uqa-message.success {
    background: #e6f4ea;
    color: #137333;
}

.uqa-message.error {
    background: #fdecea;
    color: #b3261e;
}

.uqa-tag-select {
    width: 100%;
}

/* Full width */
select.uqa-tag-select + .select2-container {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #495057;
}

/* Main selection */
select.uqa-tag-select + .select2-container
.select2-selection--multiple {
    min-height: 42px;
    border-radius: 6px;
    border: 1px solid #DEE2E6;
    padding: 4px 6px;
    background-color: #ffffff;
    cursor: text;
}

/* Focus */
select.uqa-tag-select + .select2-container.select2-container--focus
.select2-selection--multiple {
    border-color: #2745D7;
}

/* Rendered area */
select.uqa-tag-select + .select2-container
.select2-selection__rendered {
    padding: 0;
    margin: 0;
}

/* Selected tag (pill) */
select.uqa-tag-select + .select2-container
.select2-selection__choice {
    background-color: #F72585;
    border: 1px solid #F72585;
    color: #ffffff;
    border-radius: 4px;
    padding: 4px;
    font-size: 14px;
    line-height: 20px;
}

/* Hover on pill */
select.uqa-tag-select + .select2-container
.select2-selection__choice:hover {
    background-color: #e11d74;
}

/* Remove icon */
select.uqa-tag-select + .select2-container
.select2-selection__choice__remove {
    color: #ffffff;
    margin-right: 6px;
}

/* Search field */
select.uqa-tag-select + .select2-container
.select2-search__field {
    border: none;
    outline: none;
    padding: 4px;
    font-size: 14px;
}
/* Dropdown options */

.select2-container--default .select2-dropdown {
    border: 2px solid #2745D7;
    border-radius: 0 0 6px 6px;
}

/* Options */
.select2-container--default .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
}

/* Hover */
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #F72585;
    color: #ffffff;
}

/* Selected option */
.select2-container--default
.select2-results__option[aria-selected="true"] {
    background-color: #fce7f3;
    color: #111827;
}

/* ===============================
   LOGIN REQUIRED MESSAGE
================================ */

.uqa-login-required {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #495057;
    text-align: center;
}

.uqa-login-required a {
    color: #2745D7;
    text-decoration: none;
    font-weight: 600;
}

.uqa-login-required a:hover {
    text-decoration: underline;
}