.product-seller-question-fab {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1060;
    display: block;
    width: 4.4rem;
    height: 14.2rem;
    border: 0;
    border-radius: .4rem;
    background: linear-gradient(135deg, #d9a06a, #c7864f);
    color: #fff;
    padding: 0;
    font-weight: var(--fw-semibold);
    letter-spacing: 0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.product-seller-question-fab__content {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.70rem;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
}

.product-seller-question-fab:hover,
.product-seller-question-fab:focus {
    color: #fff;
    filter: brightness(1.05);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.26);
    transform: translateY(calc(-50% - 2px));
}

.product-seller-question-fab:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: -2px;
}

.product-seller-question-fab__icon {
    width: 2.18rem;
    height: 2.18rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.23);
    font-size: var(--fs-13);
    line-height: 1;
    flex-shrink: 0;
}

.product-seller-question-fab__label {
    display: inline-block;
    white-space: nowrap;
    font-size: var(--fs-13);
    font-weight: var(--fw-semibold);
    line-height: 1;
    letter-spacing: 0;
}

.product-seller-question-modal .modal-dialog {
    max-width: 620px;
}

.product-seller-question-modal.show {
    padding-right: 0 !important;
}

.product-seller-question-modal .modal-content {
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: .4rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
    overflow: hidden;
}

.product-seller-question-modal .modal-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.2rem 1.4rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
}

.product-seller-question-modal .modal-title {
    margin-bottom: 0;
    font-size: var(--fs-20);
    font-weight: var(--fw-bold);
    color: #0f172a;
}

.product-seller-question-modal .close {
    width: 3.1rem;
    height: 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 2.05rem;
    line-height: 1;
    opacity: 1;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.product-seller-question-modal .close:hover,
.product-seller-question-modal .close:focus {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.product-seller-question-modal .close:focus-visible {
    outline: 2px solid rgba(199, 134, 79, 0.38);
    outline-offset: 0;
}

.product-seller-question-modal .modal-body {
    padding: 3rem !important;
    background: #fff;
}

.product-seller-question-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.product-seller-question-modal .form-group {
    margin-bottom: 0.95rem;
}

.product-seller-question-modal .form-control:focus {
    border-color: var(--molla-primary-color, #c96);
    box-shadow: 0 0 0 0.2rem rgba(199, 134, 79, 0.16);
}

.product-seller-question-modal textarea.form-control {
    min-height: 14.4rem;
    max-height: 14.4rem;
    resize: none;
}

.product-seller-question-modal__submit {
    margin-top: 0.5rem;
    border-radius: 0.72rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.01em;
    font-size: var(--fs-13);
}

.product-seller-question-modal__alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    border-radius: 0.65rem;
    padding: 0.82rem 0.95rem;
    margin-bottom: 0.9rem;
    font-size: var(--fs-13);
    line-height: 1.45;
}

.product-seller-question-modal__alert i {
    margin-top: 0.1rem;
}

.product-seller-question-modal__alert--success {
    border: 1px solid rgba(16, 185, 129, 0.36);
    background: rgba(209, 250, 229, 0.75);
    color: #047857;
}

.product-seller-question-modal__alert--error {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(254, 226, 226, 0.78);
    color: #b91c1c;
}

.product-seller-question-modal__alert--info {
    border: 1px solid rgba(59, 130, 246, 0.34);
    background: rgba(219, 234, 254, 0.78);
    color: #1d4ed8;
}

.product-seller-question-modal__alert--notice {
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.85), rgba(255, 255, 255, 0.95));
    color: #9a3412;
}

.product-seller-question-modal--shake .modal-dialog {
    animation: product-seller-question-modal-shake 0.42s ease;
}

@keyframes product-seller-question-modal-shake {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    20%,
    60% {
        transform: translate3d(-8px, 0, 0);
    }
    40%,
    80% {
        transform: translate3d(8px, 0, 0);
    }
}

@media (max-width: 991.98px) {
    .product-seller-question-fab {
        right: 0;
        width: 4.4rem;
        height: 14.2rem;
        padding: 0;
        border-radius: .4rem;
    }

    .product-seller-question-fab:hover,
    .product-seller-question-fab:focus {
        transform: translateY(-50%);
    }

    .product-seller-question-fab__icon {
        width: 2.1rem;
        height: 2.1rem;
    }

    .product-seller-question-fab__content {
        gap: 0.16rem;
    }
}

@media (max-width: 575.98px) {
    .product-seller-question-modal .modal-dialog {
        max-width: calc(100vw - 1.5rem);
        margin: 0.75rem auto;
    }

    .product-seller-question-fab {
        width: 4.05rem;
        height: 13rem;
    }

    .product-seller-question-fab__content {
        gap: 0.14rem;
    }

    .product-seller-question-fab__icon {
        width: 1.95rem;
        height: 1.95rem;
    }
}

@media (max-width: 767.98px) {
    .product-seller-question-modal__grid {
        grid-template-columns: 1fr;
    }
}
