.support-button-wrapper {
    /* Chat Container */

    .chat-container {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 400px;
        height: 600px;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 9998;
    }

    .chat-container.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .chat-box {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: visible;
    }

    /* Header Section */

    .chat-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 12px 20px 12px;
        border-bottom: 1px solid #f3f3f3;
        position: relative;
        gap: 8px;
        overflow: visible;
    }

    .more-circle {
        width: 24px;
        height: 24px;
        position: relative;
        overflow: visible;
        cursor: pointer;
    }

    .more-circle .icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Clean Dropdown Menu Styles */

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        min-width: 180px;
        z-index: 999999 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: all 0.2s ease;
        overflow: visible;
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 10000 !important;
    }

    .dropdown-item {
        padding: 12px 16px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #f3f3f3;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 10000 !important;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background-color: #f8f8f8;
        z-index: 10000 !important;
    }

    .dropdown-text {
        font-family: "Tajawal", sans-serif;
        font-size: 14px;
        color: #282828;
        font-weight: 400;
    }

    .user-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        gap: 8px;
        flex: 1;
    }

    .user-details {
        display: flex;
        flex-direction: column;
        gap: 0px;
        text-align: right;
    }

    .user-name {
        font-family: "Tajawal", sans-serif;
        font-weight: 700;
        font-size: 14px;
        color: #282828;
        line-height: normal;
        margin: 0;
    }

    .user-status {
        font-family: "Tajawal", sans-serif;
        font-weight: 400;
        font-size: 13px;
        color: #949494;
        line-height: normal;
        margin: 0;
    }

    .avatar-container {
        position: relative;
        width: 36px;
        height: 36px;
    }

    .avatar-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }

    .chevron-right {
        width: 24px;
        height: 24px;
    }

    .chevron-right .icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Content Section */

    .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        padding-top: 12px !important;
        min-height: 0;
        min-width: 0;
        overflow: hidden;
    }

    .info-box {
        background-color: #f8f8f8;
        border: 1px solid #efefef;
        border-radius: 12px;
        display: flex;
        flex-direction: row;
        gap: 6px;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 16px 10px 16px 16px;
        width: 356px;
        position: relative;
        flex-shrink: 0;
    }

    .info-text {
        flex: 1;
        font-family: "Tajawal", sans-serif;
        font-weight: 400;
        font-size: 12px;
        color: #686868;
        text-align: justify;
        line-height: 17px;
        margin: 0;
        order: 2;
    }

    .privacy-link {
        text-decoration: underline;
        text-decoration-skip-ink: none;
        text-decoration-style: solid;
        text-underline-position: from-font;
        color: #3b3b3b;
    }

    .info-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        order: 1;
    }

    .info-icon .icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Chat Messages */

    .chat-messages {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 12px;
        flex: 1;
        overflow-y: auto;
        min-height: 0;
    }

    .message {
        padding: 12px 16px;
        border-radius: 16px;
        max-width: 75%;
        word-wrap: break-word;
        font-size: 14px;
        line-height: 1.4;
        font-family: "Tajawal", sans-serif;
        position: relative;

        margin-top: 12px;
    }

    .message-info {
        font-size: 11px;
        color: #949494;
        font-family: "Tajawal", sans-serif;
    }

    .message.user .message-info {
        text-align: left;
    }

    .message.bot .message-info {
        text-align: right;
    }

    .message.user {
        background: #4a0683;
        color: white;
        align-self: flex-end;
        border-top-left-radius: 4px;
    }

    .message.bot {
        background: #f8f8f8;
        color: #282828;
        align-self: flex-start;
        border-top-right-radius: 4px;
    }

    /* Image Message Styles */

    .message-image {
        max-width: 200px;
        max-height: 200px;
        border-radius: 8px;
        margin-bottom: 4px;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .message-image:hover {
        transform: scale(1.05);
    }

    .message.user .message-image {
        border: 2px solid #4a0683;
    }

    .message.bot .message-image {
        border: 2px solid #e5e7eb;
    }

    /* Input Section */

    .input-section {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: flex-end;
        padding: 12px;
        width: 100%;
        flex-shrink: 0;
    }

    .input-container {
        display: flex;
        flex-direction: column;
        height: 80px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 12px 8px 12px;
        border-radius: 16px;
        border: 1px solid #dedede;
        width: 100%;
        position: relative;
    }

    .input-placeholder {
        font-family: "Tajawal", sans-serif;
        font-weight: 400;
        font-size: 13px;
        color: #949494;
        text-align: right;
        line-height: normal;
        width: 100%;
    }

    .input-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .left-actions {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
    }

    .send-button {
        background-color: #e5e7eb;
        border-radius: 100px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .send-button.disabled {
        opacity: 1;
        background-color: #c3c3c3;
    }

    .send-button:not(.disabled) {
        background-color: #4a0683;
    }

    .send-button .icon {
        width: 20px;
        height: 18px;
        object-fit: contain;
    }

    .voice-button {
        background-color: #ce0886;
        border-radius: 100px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        cursor: pointer;
    }

    .voice-button .icon {
        width: 16px;
        height: 20px;
        object-fit: contain;
    }

    .right-actions {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
    }

    .emoji-button,
    .attach-button {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .emoji-button .icon,
    .attach-button .icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Responsive Design */
    @media (max-width: 480px) {
        .chat-container {
            width: calc(100vw - 40px);
            height: calc(100vh - 120px);
            bottom: 90px;
            right: 20px;
            left: 20px;
        }

        .chat-box {
            border-radius: 12px;
        }

        .info-box {
            width: calc(100% - 24px);
            margin: 0 12px;
        }
    }

    /* Hover Effects */

    .more-circle:hover,
    .chevron-right:hover,
    .send-button:hover,
    .voice-button:hover,
    .emoji-button:hover,
    .attach-button:hover {
        /* opacity: 0.8; */
        cursor: pointer;
        transition: opacity 0.2s ease;
    }

    .privacy-link:hover {
        color: #ce0886;
        transition: color 0.2s ease;
    }

    /* Focus States */

    .input-container:focus-within {
        border-color: #4a0683;
        box-shadow: 0 0 0 2px rgba(74, 6, 131, 0.1);
    }

    /* Animation for voice button */

    .voice-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    /* Chat input styling */

    .chat-input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-family: "Tajawal", sans-serif;
        font-size: 13px;
        color: #282828;
        resize: none;
        min-height: 20px;
        max-height: 60px;
        line-height: 1.4;
        text-align: right;
        direction: rtl;
    }

    /* Notification styling */

    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        background: #ce0886;
        color: white;
        padding: 12px 20px;
        border-radius: 8px;
        font-family: "Tajawal", sans-serif;
        font-size: 14px;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }

    @keyframes stroke {
        0% {
            box-shadow: 0 0 0 0 rgba(206, 8, 134, 0.12);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(206, 8, 134, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(206, 8, 134, 0);
        }
    }

    /* Floating Support Button Styles */

    .support-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        cursor: pointer;
    }

    .support-main {
        width: 56px;
        height: 56px;
        background: #ce0886;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(206, 8, 134, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .support-main:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(206, 8, 134, 0.4);
    }

    .support-main img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
        transition: all 0.3s ease;
    }

    .support-buttons {
        position: absolute;
        bottom: 70px;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .support-btn-whatsapp,
    .support-btn-ai {
        width: 56px;
        height: 56px;
    }

    .support-btn-whatsapp img,
    .support-btn-ai img {
        width: 56px;
        height: 56px;
        object-fit: contain;
    }

    .support-buttons.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .support-btn {
        width: 56px;
        height: 56px;
        background: #ce0886;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(206, 8, 134, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
        opacity: 0;
        transform: translateY(20px);
    }

    .support-buttons.show .support-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .support-buttons.show .support-btn:nth-child(1) {
        transition-delay: 0.1s;
    }

    .support-buttons.show .support-btn:nth-child(2) {
        transition-delay: 0.2s;
    }

    .support-btn:hover {
        transform: scale(1.05);
        background: #a0066b;
        box-shadow: 0 6px 25px rgba(206, 8, 134, 0.4);
    }

    .support-btn img {
        width: 56px;
        height: 56px;
        filter: brightness(0) invert(1);
    }

    /* Tooltip styles */

    .support-btn {
        position: relative;
    }

    .support-btn::after {
        content: attr(title);
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 12px;
        font-family: "Tajawal", sans-serif;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10000;
    }

    .support-btn::before {
        content: "";
        position: absolute;
        right: 65px;
        top: 50%;
        transform: translateY(-50%);
        border: 6px solid transparent;
        border-left-color: rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10000;
    }

    .support-btn:hover::after,
    .support-btn:hover::before {
        opacity: 1;
        visibility: visible;
    }

    @media (max-width: 530px) {
        #enlargeText {
            pointer-events: none;
            color: #999;
        }
    }
}