.chatgpt-support-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    transition: all 0.3s ease;
    overflow: hidden;
}

.chatgpt-support-widget.active {
    display: flex;
    transform: translateY(0);
}

.chatgpt-support-header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.chatgpt-support-operator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatgpt-support-operator-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chatgpt-support-operator-name {
    font-weight: 600;
    font-size: 16px;
}

.chatgpt-support-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatgpt-support-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatgpt-support-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.chatgpt-support-message-user {
    background: #2c3e50;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatgpt-support-message-bot {
    background: #f1f1f1;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chatgpt-support-input-container {
    padding: 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.chatgpt-support-input-wrapper {
    width: 100%;
    padding: 15px;
    padding-bottom: 0;
}

.chatgpt-support-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    resize: none;
    font-size: 14px;
    line-height: 1.4;
    min-height: 60px;
    max-height: 120px;
    transition: border-color 0.3s ease;
}

.chatgpt-support-input:focus {
    outline: none;
    border-color: #2c3e50;
}

.chatgpt-support-button-container {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    padding-top: 10px;
}

.chatgpt-support-send {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-size: 14px;
    width: auto;
    min-width: 120px;
}

.chatgpt-support-send:hover {
    background: #34495e;
}

.chatgpt-support-consent {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
}

.chatgpt-support-consent label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
}

.chatgpt-support-consent input[type="checkbox"] {
    margin-right: 5px;
}

.chatgpt-support-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999998;
    transition: all 0.3s ease;
}

.chatgpt-support-toggle:hover {
    background: #34495e;
    transform: scale(1.05);
}

.chatgpt-support-toggle-icon {
    font-size: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .chatgpt-support-widget {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .chatgpt-support-toggle {
        bottom: 10px;
        right: 10px;
    }
} 