﻿.spinutech-styles .live-chat-button {
    position: fixed;
    bottom: 20px;
    right: 23.5px;
    background-color: #8b7490;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .spinutech-styles .live-chat-button:hover {
        background-color: #705a75;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .spinutech-styles .live-chat-button i {
        font-size: 20px;
    }

    .spinutech-styles .live-chat-button.live-chat-chevron {
        border-radius: 50%;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        z-index: 10001;
    }

        .spinutech-styles .live-chat-button.live-chat-chevron i {
            font-size: 24px;
            transition: transform 0.3s ease;
        }

        .spinutech-styles .live-chat-button.live-chat-chevron.rotated i {
            transform: rotate(180deg);
        }

.spinutech-styles @keyframes slideUpFade {
    .spinutech-styles from

{
    opacity: 0;
    transform: translateY(20px);
}

.spinutech-styles to {
    opacity: 1;
    transform: translateY(0);
}

}

.spinutech-styles @keyframes spinner {
    .spinutech-styles to

{
    transform: rotate(360deg);
}

}

.spinutech-styles .live-chat-modal {
    position: fixed;
    bottom: 90px;
    right: 23.5px;
    z-index: 9999;
    width: 100%;
    max-width: 407px;
    animation: slideUpFade 0.3s ease;
}

.spinutech-styles .live-chat-modal-overlay {
    display: none;
}

.spinutech-styles .live-chat-modal-content {
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 120px);
    overflow: hidden;
    z-index: 10000;
}

.spinutech-styles .live-chat-modal-header {
    width: 100%;
    height: 64.625px;
    border-radius: 4px 4px 0 0;
    background: #806984;
    position: relative;
    flex-shrink: 0;
}

.spinutech-styles .live-chat-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10001;
}

    .spinutech-styles .live-chat-close:hover {
        color: #f0f0f0;
        transform: scale(1.1);
    }

.spinutech-styles .live-chat-logo {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 68px;
    height: 68px;
    aspect-ratio: 1;
    border-radius: 4px;
    border: 2px solid #fff;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 10002;
}

    .spinutech-styles .live-chat-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.spinutech-styles .live-chat-modal-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 184.625px);
}

.spinutech-styles .live-chat-intro {
    text-align: left;
    margin-bottom: 20px;
    margin-top: 10px;
}

    .spinutech-styles .live-chat-intro p {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
        margin: 0;
    }

.spinutech-styles #liveChatForm {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .spinutech-styles #liveChatForm .form-group {
        margin-bottom: 0;
    }

    .spinutech-styles #liveChatForm label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #000;
        font-size: 16px;
    }

        .spinutech-styles #liveChatForm label .required {
            color: #000;
            margin-left: 2px;
        }

    .spinutech-styles #liveChatForm .form-control {
        width: 100%;
        padding: 14px 16px;
        border: 1px solid #e0e0e0;
        border-radius: 50px;
        font-size: 16px;
        transition: all 0.2s ease;
        background-color: #f5f5f5;
        box-sizing: border-box;
    }

        .spinutech-styles #liveChatForm .form-control:focus {
            outline: none;
            border-color: #8b7490;
            background-color: white;
            box-shadow: 0 0 0 3px rgba(139, 116, 144, 0.1);
        }

        .spinutech-styles #liveChatForm .form-control.error {
            border-color: #dc3545;
            background-color: #fff5f5;
        }

    .spinutech-styles #liveChatForm textarea.form-control {
        border-radius: 20px;
        min-height: 100px;
        resize: vertical;
    }

    .spinutech-styles #liveChatForm .error-message {
        color: #dc3545;
        font-size: 13px;
        margin-top: 5px;
        display: none;
    }

        .spinutech-styles #liveChatForm .error-message.show {
            display: block;
        }

    .spinutech-styles #liveChatForm .btn-submit {
        background-color: #007939;
        border: none;
        padding: 16px 18px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 36px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: white;
        margin-top: 10px;
        letter-spacing: 1px;
        position: relative;
        width: 100%;
        align-self: stretch;
    }

        .spinutech-styles #liveChatForm .btn-submit:hover:not(:disabled) {
            background-color: #005f2e;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 121, 57, 0.3);
        }

        .spinutech-styles #liveChatForm .btn-submit:active:not(:disabled) {
            transform: translateY(0);
        }

        .spinutech-styles #liveChatForm .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .spinutech-styles #liveChatForm .btn-submit.loading {
            color: transparent;
        }

            .spinutech-styles #liveChatForm .btn-submit.loading::after {
                content: "";
                position: absolute;
                width: 20px;
                height: 20px;
                top: 50%;
                left: 50%;
                margin-left: -10px;
                margin-top: -10px;
                border: 3px solid #fff;
                border-radius: 50%;
                border-top-color: transparent;
                animation: spinner 0.6s linear infinite;
            }

.spinutech-styles .live-chat-terms {
    margin-top: -5px;
}

    .spinutech-styles .live-chat-terms p {
        font-size: 13px;
        line-height: 1.5;
        color: #666;
        margin: 0;
        text-align: left;
    }

        .spinutech-styles .live-chat-terms p a {
            color: #000;
            text-decoration: underline;
            font-weight: 500;
        }

            .spinutech-styles .live-chat-terms p a:hover {
                color: #00843d;
            }

.spinutech-styles @media (max-width: 768px) {
    .spinutech-styles .live-chat-button

{
    padding: 12px 20px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
}

.spinutech-styles .live-chat-button i {
    font-size: 18px;
}

.spinutech-styles .live-chat-button.live-chat-chevron {
    width: 50px;
    height: 50px;
    padding: 0;
}

    .spinutech-styles .live-chat-button.live-chat-chevron i {
        font-size: 20px;
    }

.spinutech-styles .live-chat-modal {
    width: calc(100vw - 30px);
    right: 15px;
    bottom: 75px;
    max-height: calc(100vh - 100px);
}

.spinutech-styles .live-chat-modal-content {
    max-height: calc(100vh - 100px);
    max-width: calc(100vw - 30px);
}

.spinutech-styles .live-chat-modal-body {
    padding: 20px;
    max-height: calc(100vh - 164.625px);
}

.spinutech-styles .live-chat-close {
    top: 10px;
    right: 10px;
    font-size: 20px;
}

.spinutech-styles .live-chat-logo {
    width: 56px;
    height: 56px;
    left: 20px;
    top: 20px;
}

    .spinutech-styles .live-chat-logo img {
        width: 100%;
        height: 100%;
    }

.spinutech-styles .live-chat-intro {
    margin-top: 10px;
}

    .spinutech-styles .live-chat-intro p {
        font-size: 15px;
    }

.spinutech-styles #liveChatForm {
    gap: 11px;
}

    .spinutech-styles #liveChatForm label {
        font-size: 15px;
    }

    .spinutech-styles #liveChatForm .form-control {
        padding: 12px 14px;
        font-size: 15px;
    }

    .spinutech-styles #liveChatForm .btn-submit {
        padding: 14px 16px;
        font-size: 15px;
    }
}
