﻿.chat-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .chat-button img {
        width: 78%;
        height: auto;
    }

    .chat-button:hover {
        transform: scale(1.1);
    }

.chat-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #eeeeff;
    padding: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    width: 30%;
    max-width: 90%;
    text-align: center;
    transition: 0.3s;
}

.chat-modal-content {
    position: relative;
    font-family: Arial, sans-serif;
    color: var(--text-color);
}

.chat-header h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.support-content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.support-option {
    flex: 1;
    background: var(--support-bg);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

    .support-option:hover {
        transform: translateY(-3px);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    }

    .support-option strong {
        display: block;
        font-size: 16px;
        color: var(--text-color);
        margin-bottom: 8px;
    }

    .support-option p {
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 10px;
    }

.chat-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

    .chat-link:hover {
        background: var(--primary-dark);
    }

.close-modal {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 25px;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 1280px) {
    .chat-modal {
        width: 90%;
        max-width: 320px;
        padding: 15px;
    }

    .support-content {
        flex-direction: column;
        gap: 15px;
    }

    .support-option {
        padding: 10px;
    }

    .chat-button {
        width: 40px;
        height: 40px;
    }

        .chat-button img {
            width: 78%;
            height: auto;
        }
}

:root {
    --modal-bg: #ffffff;
    --text-color: #333;
    --text-muted: #777;
    --primary-color: #6c5ce7;
    --primary-dark: #4834d4;
    --support-bg: #f5f5f5;
}

.dark-mode {
    --modal-bg: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #bbbbbb;
    --primary-color: #a29bfe;
    --primary-dark: #6c5ce7;
    --support-bg: #2c2c2c;
}
